NSCoder.ContainsKey(String) 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.
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.