Sets the value of the specified default key to the specified Boolean value.
Original signature is '- (void)setBool:(BOOL)value forKey:(NSString *)defaultName'
Available in Mac OS X v10.0 and later.
Declaration Syntax
public virtual void SetBoolForKey(
bool value,
NSString defaultName
)
Public Overridable Sub SetBoolForKey ( _
value As Boolean, _
defaultName As NSString _
)
public:
virtual void SetBoolForKey(
bool value,
NSString^ defaultName
)
Parameters
- value (Boolean)
- The Boolean value to store in the defaults database.
- defaultName (NSString)
- The key with which to associate with the value.
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)