TypeElementCollection.Item[] Propiedad

Definición

Obtiene o establece un elemento de la colección.

Sobrecargas

Nombre Description
Item[Int32]

Obtiene o establece el elemento en un índice especificado de la colección.

Item[Object]

Obtiene o establece el TypeElement objeto que tiene la clave especificada en la colección.

Item[Int32]

Obtiene o establece el elemento en un índice especificado de la colección.

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

Parámetros

index
Int32

Índice de base cero en la colección.

Valor de propiedad

TypeElement que existe en el índice especificado.

Se aplica a

Item[Object]

Obtiene o establece el TypeElement objeto que tiene la clave especificada en la colección.

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

Parámetros

key
Object

Clave de que TypeElement se va a obtener o establecer en la colección.

Valor de propiedad

TypeElement con la clave especificada.

Excepciones

No TypeElement se encontró con la clave especificada en la colección.

Se aplica a