NSUserDefaults.ObjectIsForced Method
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.
Overloads
ObjectIsForced(String) |
True if the specified key is managed by an administrator. |
ObjectIsForced(String, String) |
True if the specified key is managed by an administrator. |
ObjectIsForced(String)
True if the specified key is managed by an administrator.
[Foundation.Export("objectIsForcedForKey:")]
public virtual bool ObjectIsForced (string key);
abstract member ObjectIsForced : string -> bool
override this.ObjectIsForced : string -> bool
Parameters
- key
- String
The key to test for.
Returns
Returns true
if the value associated with this key is managed by an administrator.
- Attributes
Remarks
Applies to
ObjectIsForced(String, String)
True if the specified key is managed by an administrator.
[Foundation.Export("objectIsForcedForKey:inDomain:")]
public virtual bool ObjectIsForced (string key, string domain);
abstract member ObjectIsForced : string * string -> bool
override this.ObjectIsForced : string * string -> bool
Parameters
- key
- String
The key to test for.
- domain
- String
Key’s domain.
Returns
Returns true
if the value associated with this key is managed by an administrator.
- Attributes