Void* to IntPtr Conversion
.NET Framework 1.1
Converts the specified pointer to an unspecified type to an IntPtr.
This type conversion is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.
[C#] [CLSCompliant(false)] unsafe public static explicit operator IntPtr( void* value ); [C++] [CLSCompliant(false)] public: static IntPtr op_Explicit( void* value );
[Visual Basic] This conversion operator cannot be used in Visual Basic.
[JScript] This conversion operator cannot be used in JScript.
Parameters [C#, C++]
- value
- A pointer to an unspecified type.
Return Value [C#, C++]
A new instance of IntPtr initialized to value.
Requirements [C#, C++]
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
See Also
IntPtr Structure | IntPtr Members | System Namespace | IntPtr