Bewerken

Delen via


NSCoder.ContainsKey(String) Method

Definition

Determines whether an encoded value is available for the specified key.

[Foundation.Export("containsValueForKey:")]
public virtual bool ContainsKey (string key);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool

Parameters

key
String

Key to lookup.

Returns

True if the key is available to be decoded, false otherwise.

Attributes

Remarks

Subclasses of NSCoder must implement this method if they support keyed coding.

Applies to