This documentation is archived and is not being maintained.

UIntPtr to Void* Conversion

.NET Framework 1.1

Converts the value of the specified UIntPtr to a pointer to an unspecified type.

The UIntPtr type is not CLS-compliant. The CLS-compliant alternative type is IntPtr. For more information about CLS compliance, see What is the Common Language Specification.

unsafe public static explicit operator void*(
 UIntPtr value
public: static void* op_Explicit();

[Visual Basic] This conversion operator cannot be used in Visual Basic.

[JScript] This conversion operator cannot be used in JScript.

Parameters [C#]

A UIntPtr.

Return Value [C#, C++]

The contents of 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

UIntPtr Structure | UIntPtr Members | System Namespace | ToPointer