Reads a processor native sized integer from unmanaged memory.
Namespace:
?
System.Runtime.InteropServices
Assembly:
?
mscorlib (in mscorlib.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function ReadIntPtr ( _
ptr As IntPtr _
) As IntPtr |
JavaScript |
---|
System.Runtime.InteropServices.Marshal.readIntPtr = function(ptr); |
Parameters
- ptr
- Type: System..::.IntPtr
The address in unmanaged memory from which to read.
Return Value
The IntPtr read from the ptr parameter.
Exceptions
See Also