TypeElementCollection.Item[] Proprietà

Definizione

Ottiene o imposta un elemento dell'insieme.

Overload

Item[Int32]

Ottiene o imposta l'elemento dell'insieme in corrispondenza di un indice specificato.

Item[Object]

Ottiene o imposta l'elemento TypeElement con la chiave specificata nell'insieme.

Item[Int32]

Ottiene o imposta l'elemento dell'insieme in corrispondenza di un indice specificato.

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

Parametri

index
Int32

Indice in base zero dell'insieme.

Valore della proprietà

TypeElement

Oggetto TypeElement esistente in corrispondenza dell'indice specificato.

Si applica a

Item[Object]

Ottiene o imposta l'elemento TypeElement con la chiave specificata nell'insieme.

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

Parametri

key
Object

Chiave dell'elemento TypeElement da ottenere o impostare nell'insieme.

Valore della proprietà

TypeElement

Oggetto TypeElement con la chiave specificata.

Eccezioni

L'elemento TypeElement con la chiave specificata non è stato trovato nell'insieme.

Si applica a