Export (0) Print
Expand All

UIntPtr.ToPointer Method

Converts the value of this instance 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.

[C#]
[CLSCompliant(false)]
unsafe public void* ToPointer();
[C++]
[CLSCompliant(false)]
public: void* ToPointer();

[Visual Basic] This method cannot be used in Visual Basic.

[JScript] This method cannot be used in JScript.

Return Value [C#, C++]

A pointer to Void; that is, a pointer to memory containing data of an unspecified type.

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, Common Language Infrastructure (CLI) Standard

See Also

UIntPtr Structure | UIntPtr Members | System Namespace

Show:
© 2014 Microsoft