'Declaration Public Shared Function FromPointer(Of T As CppObject)( _ ByVal comObjectPtr As System.IntPtr _ ) As T
public static T FromPointer<T>( System.IntPtr comObjectPtr ) where T: CppObject
Parameters
- comObjectPtr
- The native pointer to a com object.
Type Parameters
- T
- The ComObject class that will be returned
Return Value
An instance of T binded to the native pointer