ProtocolElementCollection.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 ProtocolElement określony klucz w kolekcji.

Item[Int32]

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

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

Parametry

index
Int32

Indeks oparty na zerze do kolekcji.

Wartość właściwości

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

Dotyczy

Item[Object]

Pobiera lub ustawia ProtocolElement określony klucz w kolekcji.

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

Parametry

key
Object

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

Wartość właściwości

Element ProtocolElement z określonym kluczem.

Wyjątki

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

Dotyczy