IntPtr Constructor
Collapse the table of content
Expand the table of content

IntPtr Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of IntPtr.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method IntPtr(Int32) Initializes a new instance of IntPtr using the specified 32-bit pointer or handle.
Public method IntPtr(Int64) Initializes a new instance of IntPtr using the specified 64-bit pointer.
Public method IntPtr(Void*) Security Critical. Initializes a new instance of IntPtr using the specified pointer to an unspecified type.
Top

Show:
© 2017 Microsoft