Redigeeri

Jagamisviis:


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)]
public sealed class Pointer : System.Runtime.Serialization.ISerializable
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public sealed class Pointer : System.Runtime.Serialization.ISerializable
[<System.CLSCompliant(false)>]
type Pointer = class
    interface ISerializable
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type Pointer = class
    interface ISerializable
Public NotInheritable Class Pointer
Implements ISerializable
Inheritance
Pointer
Attributes
Implements

Methods

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)

Returns a value that indicates whether the current object is equal to a specified object.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Returns the hash code for the current object.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
Unbox(Object)

Returns the stored pointer.

Explicit Interface Implementations

ISerializable.GetObjectData(SerializationInfo, StreamingContext)

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

Applies to