Mac Guides | Samples

MonoMac.Foundation.NSUserDefaults Class

Support for loading and saving user settings.

See Also: NSUserDefaults

Syntax

[MonoMac.Foundation.Register("NSUserDefaults", true)]
public class NSUserDefaults : NSObject

Related content

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.NSUserDefaults are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
default property
Item(String)NSObject.
[read-only]
static
StandardUserDefaultsNSUserDefaults.

Public Methods