Context.GetNamedDataSlot(String) Méthode

Définition

Recherche un emplacement de données nommé.

Cette API prend en charge l'infrastructure du produit et n'est pas destinée à être utilisée directement à partir de votre code.

public:
 static LocalDataStoreSlot ^ GetNamedDataSlot(System::String ^ name);
public static LocalDataStoreSlot GetNamedDataSlot (string name);
[System.Security.SecurityCritical]
public static LocalDataStoreSlot GetNamedDataSlot (string name);
static member GetNamedDataSlot : string -> LocalDataStoreSlot
[<System.Security.SecurityCritical>]
static member GetNamedDataSlot : string -> LocalDataStoreSlot
Public Shared Function GetNamedDataSlot (name As String) As LocalDataStoreSlot

Paramètres

name
String

Nom de l'emplacement de données.

Retours

Emplacement de données local.

Attributs

Remarques

Si le nom n’a pas été utilisé, un nouvel emplacement est alloué. Les emplacements de données nommés sont publics et peuvent être manipulés par n’importe qui.

S’applique à