Upravit

Sdílet prostřednictvím


NSObject.SetValueForKey(NSObject, NSString) Method

Definition

Sets the value of the property specified by the key to the specified value.

[Foundation.Export("setValue:forKey:")]
public virtual void SetValueForKey (Foundation.NSObject value, Foundation.NSString key);
abstract member SetValueForKey : Foundation.NSObject * Foundation.NSString -> unit
override this.SetValueForKey : Foundation.NSObject * Foundation.NSString -> unit

Parameters

value
NSObject

Value to set on the property.

key
NSString

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

Attributes

Applies to