NSUserDefaults.ArgumentDomain Property

Definition

This is they key used to retrieve the domain associated with the command line arguments passed at startup.

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

Property Value

Attributes

Remarks

This domain contains the command line arguments that were parsed at application startup.

For each command line argument of the form -NAME VALUE that is passed at startup to your application, the "NAME" is used as the key, with the value set to VALUE.

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

Applies to