NSUserDefaults.ArgumentDomain Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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"));