Pointer Pointer Pointer Pointer Class

Definition

Important

This API is not CLS-compliant.

Provides a wrapper class for pointers.

public ref class Pointer sealed : System::Runtime::Serialization::ISerializable
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[Serializable]
public sealed class Pointer : System.Runtime.Serialization.ISerializable
type Pointer = class
    interface ISerializable
Public NotInheritable Class Pointer
Implements ISerializable
Inheritance
PointerPointerPointerPointer
Attributes
Implements

Methods

Box(Void*, Type) Box(Void*, Type) Box(Void*, Type) Box(Void*, Type)

Boxes the supplied unmanaged memory pointer and the type associated with that pointer into a managed Pointer wrapper object. The value and the type are saved so they can be accessed from the native code during an invocation.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Unbox(Object) Unbox(Object) Unbox(Object) Unbox(Object)

Returns the stored pointer.

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext) ISerializable.GetObjectData(SerializationInfo, StreamingContext)

Sets the SerializationInfo object with the file name, fusion log, and additional exception information.

Applies to