Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IntPtr.ToPointer Method

Converts the value of this instance to a pointer to an unspecified type.

This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.

unsafe public void* ToPointer();
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

IntPtr Structure | IntPtr Members | System Namespace

© 2015 Microsoft