MonobjcMonobjc Documented Class Library
SetPersistentDomainForName Method (domain, domainName)
NamespacesMonobjc.FoundationNSUserDefaultsSetPersistentDomainForName(NSDictionary, NSString)

Sets the dictionary for the specified persistent domain.

Original signature is '- (void)setPersistentDomain:(NSDictionary *)domain forName:(NSString *)domainName'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetPersistentDomainForName(
	NSDictionary domain,
	NSString domainName
)
Public Overridable Sub SetPersistentDomainForName ( _
	domain As NSDictionary, _
	domainName As NSString _
)
public:
virtual void SetPersistentDomainForName(
	NSDictionary^ domain, 
	NSString^ domainName
)
Parameters
domain (NSDictionary)
The dictionary of keys and values you want to assign to the domain.
domainName (NSString)
The domain whose keys and values you want to set. This value should be equal to your application's bundle identifier.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)