ServiceModelConfigurationElementCollection<ConfigurationElementType>.Item[] Właściwość

Definicja

Pobiera lub ustawia właściwość, atrybut lub element podrzędny tego ConfigurationElement obiektu.

Przeciążenia

Item[Int32]

Pobiera lub ustawia właściwość, atrybut lub element ConfigurationElement podrzędny obiektu z określonym indeksem.

Item[Object]

Pobiera lub ustawia właściwość, atrybut lub element ConfigurationElement podrzędny obiektu z określonym kluczem.

Item[Int32]

Pobiera lub ustawia właściwość, atrybut lub element ConfigurationElement podrzędny obiektu z określonym indeksem.

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

Parametry

index
Int32

Indeks elementu do uzyskania dostępu.

Wartość właściwości

ConfigurationElementType

Element znajdujący się w określonym indeksie w kolekcji.

Wyjątki

index to null.

Dotyczy

Item[Object]

Pobiera lub ustawia właściwość, atrybut lub element ConfigurationElement podrzędny obiektu z określonym kluczem.

public:
 virtual property ConfigurationElementType default[System::Object ^] { ConfigurationElementType get(System::Object ^ key); void set(System::Object ^ key, ConfigurationElementType value); };
public virtual ConfigurationElementType this[object key] { get; set; }
member this.Item(obj) : 'ConfigurationElementType with get, set
Default Public Overridable Property Item(key As Object) As ConfigurationElementType

Parametry

key
Object

Klucz elementu do uzyskania dostępu.

Wartość właściwości

ConfigurationElementType

Element znajdujący się w określonym kluczu w kolekcji.

Wyjątki

key to null.

key nie można odnaleźć.

Dotyczy