Udostępnij przez


TrustLevelCollection.Item[] Właściwość

Definicja

Pobiera określony TrustLevel element w TrustLevelCollection obiekcie .

Przeciążenia

Item[Int32]

Pobiera lub ustawia TrustLevel element w określonym indeksie TrustLevelCollection w obiekcie.

Item[String]

TrustLevel Pobiera obiekt w określonym indeksie.

Item[Int32]

Pobiera lub ustawia TrustLevel element w określonym indeksie TrustLevelCollection w obiekcie.

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

Parametry

index
Int32

Indeks liczbowy obiektu TrustLevel.

Wartość właściwości

A TrustLevel w określonym indeksie.

Uwagi

TrustLevel Jeśli obiekt istnieje w określonym indeksie, TrustLevel obiekt zostanie usunięty i zostanie dodany nowy. Jeśli żaden obiekt nie TrustLevel istnieje w indeksie, zostanie dodany nowy obiekt.

Dotyczy

Item[String]

TrustLevel Pobiera obiekt w określonym indeksie.

public:
 property System::Web::Configuration::TrustLevel ^ default[System::String ^] { System::Web::Configuration::TrustLevel ^ get(System::String ^ key); };
public System.Web.Configuration.TrustLevel this[string key] { get; }
member this.Item(string) : System.Web.Configuration.TrustLevel
Default Public ReadOnly Property Item(key As String) As TrustLevel

Parametry

key
String

Indeks obiektu TrustLevel.

Wartość właściwości

Element TrustLevel , który istnieje w określonym indeksie obiektu TrustLevelCollection.

Uwagi

Obiekt TrustLevel musi istnieć w określonym indeksie TrustLevelCollection w obiekcie .

Dotyczy