Context.AllocateNamedDataSlot(String) Methode

Definition

Weist einen benannten Datenplatz zu.

Diese API unterstützt die Produktinfrastruktur und ist nicht für die direkte Verwendung aus Ihrem Code gedacht.

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

Parameter

name
String

Der erforderliche Name für den Datenplatz.

Gibt zurück

Ein lokales Datenplatzobjekt.

Attribute

Hinweise

Der Steckplatz wird für alle Kontexte zugewiesen. Benannte Datenplätze sind öffentlich und können von jedem bearbeitet werden.

Gilt für: