NSObject.SetNilValueForKey(NSString) NSObject.SetNilValueForKey(NSString) Method

Definition

Sets the value of the specified key to null.

[Foundation.Export("setNilValueForKey:")]
public virtual void SetNilValueForKey (Foundation.NSString key);
abstract member SetNilValueForKey : Foundation.NSString -> unit
override this.SetNilValueForKey : Foundation.NSString -> unit

Parameters

key
NSString NSString

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

Applies to