Pointer Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Important
Cette API n’est pas conforme CLS.
Fournit une classe wrapper pour les pointeurs.
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
- Héritage
-
Pointer
- Attributs
- Implémente
Méthodes
| Nom | Description |
|---|---|
| Box(Void*, Type) |
Boxe le pointeur de mémoire non managé fourni et le type associé à ce pointeur dans un objet wrapper managé Pointer . La valeur et le type sont enregistrés afin qu’ils soient accessibles à partir du code natif lors d’un appel. |
| Equals(Object) |
Détermine si l’objet spécifié est égal à l’objet actuel. (Hérité de Object) |
| GetHashCode() |
Sert de fonction de hachage par défaut. (Hérité de Object) |
| GetType() |
Obtient la Type de l’instance actuelle. (Hérité de Object) |
| MemberwiseClone() |
Crée une copie superficielle du Objectactuel. (Hérité de Object) |
| ToString() |
Retourne une chaîne qui représente l’objet actuel. (Hérité de Object) |
| Unbox(Object) |
Retourne le pointeur stocké. |
Implémentations d’interfaces explicites
| Nom | Description |
|---|---|
| ISerializable.GetObjectData(SerializationInfo, StreamingContext) |
Définit l’objet SerializationInfo avec le nom de fichier, le journal de fusion et des informations d’exception supplémentaires. |