Context.GetData(LocalDataStoreSlot) 方法

定義

從目前內容的指定插槽擷取值。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

參數

slot
LocalDataStoreSlot

包含資料的資料插槽。

傳回

Object

slot 相關的資料。

屬性

適用於