Foundation.NSObject.SetValueForKeyPath Method
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Syntax

public void SetValueForKeyPath (IntPtr handle, NSString keyPath)

Parameters

handle
Pointer (handle) to the unmanaged object.
keyPath
Key-path to use to perform the value lookup. The keypath consists of a series of lowercase ASCII-strings with no spaces in them separated by dot characters.

Remarks

This constructor is invoked by the runtime infrastructure (ObjCRuntime.GetNSObject (IntPtr)) to create a new managed representation for a pointer to an unmanaged Objective-C object. You should not invoke this method directly, instead you should call the GetNSObject method as it will prevent two instances of a managed object to point to the same native object.

Requirements

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