Context.GetData(LocalDataStoreSlot) Metod

Definition

Hämtar värdet från det angivna facket i den aktuella kontexten.

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

public:
 static System::Object ^ GetData(LocalDataStoreSlot ^ slot);
public static object GetData(LocalDataStoreSlot slot);
[System.Security.SecurityCritical]
public static object GetData(LocalDataStoreSlot slot);
static member GetData : LocalDataStoreSlot -> obj
[<System.Security.SecurityCritical>]
static member GetData : LocalDataStoreSlot -> obj
Public Shared Function GetData (slot As LocalDataStoreSlot) As Object

Parametrar

slot
LocalDataStoreSlot

Datafacket som innehåller data.

Returer

De data som är associerade med slot.

Attribut

Gäller för