Context.SetData(LocalDataStoreSlot, Object) Metod

Definition

Anger data i 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 void SetData(LocalDataStoreSlot ^ slot, System::Object ^ data);
public static void SetData(LocalDataStoreSlot slot, object data);
[System.Security.SecurityCritical]
public static void SetData(LocalDataStoreSlot slot, object data);
static member SetData : LocalDataStoreSlot * obj -> unit
[<System.Security.SecurityCritical>]
static member SetData : LocalDataStoreSlot * obj -> unit
Public Shared Sub SetData (slot As LocalDataStoreSlot, data As Object)

Parametrar

slot
LocalDataStoreSlot

Datafacket där data ska läggas till.

data
Object

De data som ska läggas till.

Attribut

Gäller för