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

Definicja

Pobiera lub ustawia element w kolekcji.

Przeciążenia

Item[Int32]

Pobiera lub ustawia element w określonym indeksie w kolekcji.

Item[Object]

Pobiera lub ustawia TypeElement określony klucz w kolekcji.

Item[Int32]

Pobiera lub ustawia element w określonym indeksie w kolekcji.

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

Parametry

index
Int32

Indeks oparty na zerze do kolekcji.

Wartość właściwości

Obiekt TypeElement , który istnieje w określonym indeksie.

Dotyczy

Item[Object]

Pobiera lub ustawia TypeElement określony klucz w kolekcji.

public:
 property System::Web::Services::Configuration::TypeElement ^ default[System::Object ^] { System::Web::Services::Configuration::TypeElement ^ get(System::Object ^ key); void set(System::Object ^ key, System::Web::Services::Configuration::TypeElement ^ value); };
public System.Web.Services.Configuration.TypeElement this[object key] { get; set; }
member this.Item(obj) : System.Web.Services.Configuration.TypeElement with get, set
Default Public Property Item(key As Object) As TypeElement

Parametry

key
Object

Klucz elementu TypeElement , który ma być pobierany lub ustawiany w kolekcji.

Wartość właściwości

Element TypeElement z określonym kluczem.

Wyjątki

Nie TypeElement można odnaleźć elementu z określonym kluczem w kolekcji.

Dotyczy