Export (0) Print
Expand All

IntPtr Members

IntPtr overview

Public Constructors

public constructorIntPtr Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of IntPtr.

Public Fields

public fieldstatic (Shared in Visual Basic)Zero

Supported by the .NET Compact Framework.

A read-only field that represents a pointer or handle that has been initialized to zero.

Public Properties

public propertystatic (Shared in Visual Basic)Size

Supported by the .NET Compact Framework.

Gets the size of this instance.

Public Methods

public methodEquals

Supported by the .NET Compact Framework.

Overridden. Returns a value indicating whether this instance is equal to a specified object.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToInt32

Supported by the .NET Compact Framework.

Converts the value of this instance to a 32-bit signed integer.
public methodToInt64

Supported by the .NET Compact Framework.

Converts the value of this instance to a 64-bit signed integer.
public methodToPointer

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Overridden. Converts the numeric value of this instance to its equivalent string representation.

Public Operators and Type Conversions

public operatorstatic (Shared in Visual Basic)Equality Operator

Supported by the .NET Compact Framework.

Determines whether two specified instances of IntPtr are equal.
public operatorstatic (Shared in Visual Basic)Inequality Operator

Supported by the .NET Compact Framework.

Determines whether two specified instances of IntPtr are not equal.
public operatorstatic (Shared in Visual Basic)Int32 to IntPtr Conversion

Supported by the .NET Compact Framework.

Converts the value of a 32-bit signed integer to an IntPtr.
public operatorstatic (Shared in Visual Basic)Int64 to IntPtr Conversion

Supported by the .NET Compact Framework.

Converts the value of a 64-bit signed integer to an IntPtr.
public operatorstatic (Shared in Visual Basic)IntPtr to Int32 Conversion

Supported by the .NET Compact Framework.

Converts the value of the specified IntPtr to a 32-bit signed integer.
public operatorstatic (Shared in Visual Basic)IntPtr to Void* Conversion

Supported by the .NET Compact Framework.

Converts the value of the specified IntPtr to a pointer to an unspecified type.
public operatorstatic (Shared in Visual Basic)IntPtr to Int64 Conversion

Supported by the .NET Compact Framework.

Converts the value of the specified IntPtr to a 64-bit signed integer.
public operatorstatic (Shared in Visual Basic)Void* to IntPtr Conversion

Supported by the .NET Compact Framework.

Converts the specified pointer to an unspecified type to an IntPtr.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

IntPtr Structure | System Namespace

Show:
© 2015 Microsoft