Επεξεργασία

Κοινή χρήση μέσω


Context.GetNamedDataSlot(String) Method

Definition

Looks up a named data slot.

This API supports the product infrastructure and is not intended to be used directly from your code.

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

Parameters

name
String

The data slot name.

Returns

A local data slot.

Attributes

Remarks

If the name has not been used, a new slot is allocated. Named data slots are public and can be manipulated by anyone.

Applies to