Modifica

Condividi tramite


NSUserDefaults.ObjectIsForced Method

Definition

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

Remarks

Applies to