Context.GetNamedDataSlot(String) Metod

Definition

Letar upp ett namngivet datafack.

Detta API stöder produktinfrastrukturen och är inte avsett att användas direkt från koden.

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

Parametrar

name
String

Namnet på datafacket.

Returer

Ett lokalt datafack.

Attribut

Kommentarer

Om namnet inte har använts allokeras ett nytt fack. Namngivna datafack är offentliga och kan manipuleras av vem som helst.

Gäller för