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