TypeHelperToObjectT Method 
             | 
          
        
          
    Namespace: 
   OpenCvSharp.Util
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static T ToObject<T>(
	IntPtr ptr
)
where T : struct, new()
Public Shared Function ToObject(Of T As {Structure, New}) ( 
	ptr As IntPtr
) As Tpublic:
generic<typename T>
where T : value class, gcnew()
static T ToObject(
	IntPtr ptr
)
static member ToObject : 
        ptr : IntPtr -> 'T  when 'T : struct, new()
JavaScript does not support generic types or methods.
Parameters
- ptr
 - Type: SystemIntPtr
 
Type Parameters
- T
 
Return Value
Type: 
T
See Also