Foundation.NSObject.SetValueForKey Method
Sets the value of the property specified by the key to the specified value.

Syntax

[Foundation.Export("setValue:forKey:")]
public virtual void SetValueForKey (NSObject value, NSString key)

Parameters

value
Value to set on the property.
key
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.

Remarks

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0