NSObject.ValueForUndefinedKey(NSString) Method

Definition

Indicates an attempt to read a value of an undefined key. If not overridden, raises an NSUndefinedKeyException.

[Foundation.Export("valueForUndefinedKey:")]
public virtual Foundation.NSObject ValueForUndefinedKey (Foundation.NSString key);
abstract member ValueForUndefinedKey : Foundation.NSString -> Foundation.NSObject
override this.ValueForUndefinedKey : Foundation.NSString -> Foundation.NSObject

Parameters

key
NSString

Name of the Objective-C property. It must be an ASCII name, start with a lowercase letter and contain no spaces.

Returns

Attributes

Applies to