NSObject.SetValueForKey(NSObject, NSString) Method
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.
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
- 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