Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / C1TextField Class / C1TextField Constructor / C1TextField Constructor(IntPtr)
Pointer (handle) to the unmanaged object.


In This Topic
    C1TextField Constructor(IntPtr)
    In This Topic
    Initializes a new instance of the C1TextField class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal handle As IntPtr _
    )
    'Usage
     
    
    Dim handle As IntPtr
     
    Dim instance As New C1TextField(handle)
    public C1TextField( 
       IntPtr handle
    )

    Parameters

    handle
    Pointer (handle) to the unmanaged object.
    Remarks
    This constructor is invoked by the runtime infrastructure (ObjCRuntime.GetNSObject (System.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.
    See Also