MonobjcMonobjc Documented Class Library
ObjectIsForcedForKeyInDomain Method (key, domain)
NamespacesMonobjc.FoundationNSUserDefaultsObjectIsForcedForKeyInDomain(NSString, NSString)

Returns a Boolean value indicating whether the key in the specified domain is managed by an administrator.

Original signature is '- (BOOL)objectIsForcedForKey:(NSString *)key inDomain:(NSString *)domain'

Available in Mac OS X v10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool ObjectIsForcedForKeyInDomain(
	NSString key,
	NSString domain
)
Public Overridable Function ObjectIsForcedForKeyInDomain ( _
	key As NSString, _
	domain As NSString _
) As Boolean
public:
virtual bool ObjectIsForcedForKeyInDomain(
	NSString^ key, 
	NSString^ domain
)
Parameters
key (NSString)
The key whose status you want to check.
domain (NSString)
The domain of the key.
Return Value
YES if the key is managed by an administrator in the specified domain, otherwise NO.
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)