HttpSessionStateContainer.Item[] Vlastnost

Definice

Získá nebo nastaví jednotlivé hodnoty relace.

Přetížení

Item[Int32]

Získá nebo nastaví hodnotu relace podle číselného indexu.

Item[String]

Získá nebo nastaví hodnotu relace podle názvu.

Item[Int32]

Získá nebo nastaví hodnotu relace podle číselného indexu.

public:
 property System::Object ^ default[int] { System::Object ^ get(int index); void set(int index, System::Object ^ value); };
public object this[int index] { get; set; }
member this.Item(int) : obj with get, set
Default Public Property Item(index As Integer) As Object

Parametry

index
Int32

Číselný index hodnoty relace.

Hodnota vlastnosti

Hodnota stavu relace uložená v zadaném indexu.

Implementuje

Viz také

Platí pro

Item[String]

Získá nebo nastaví hodnotu relace podle názvu.

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ name); void set(System::String ^ name, System::Object ^ value); };
public object this[string name] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(name As String) As Object

Parametry

name
String

Název klíče hodnoty relace.

Hodnota vlastnosti

Hodnota stavu relace se zadaným názvem.

Implementuje

Viz také

Platí pro