NSUserDefaults.GlobalDomain Property

Definition

This is the key used to retrieve the global user defaults domain.

[Foundation.Field("NSGlobalDomain", "Foundation")]
public static Foundation.NSString GlobalDomain { get; }
member this.GlobalDomain : Foundation.NSString

Property Value

Attributes

Remarks

This key is used to retrieve the global user defaults.

// Retrieve the gloabl NSButtonDelay setting on MacOS:
var global = new NSUserDefaults (NSUserDefaults.GlobalDomain);
Console.WriteLine ("Delay: " + j.FloatForKey ("NSButtonDelay"));

Applies to