Gets the instance of the given type.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static T GetInstance<T>( IntPtr value ) where T : class, IManagedWrapper
Public Shared Function GetInstance(Of T As {Class, IManagedWrapper}) ( _ value As IntPtr _ ) As T
public: generic<typename T> where T : ref class, IManagedWrapper static T GetInstance( IntPtr value )
Generic Template Parameters
- T
- The parametric type.
Parameters
- value (IntPtr)
- The value.
Return Value
An instance of the type.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)