Share via


ModelMemberCollection<TItemType,TFindType>.Item[] Propiedad

Definición

Obtiene el valor en el índice especificado.

Sobrecargas

Item[String]

Obtiene el valor en el índice especificado por nombre.

Item[TFindType]

Obtiene el valor en el índice especificado por tipo.

Item[String]

Obtiene el valor en el índice especificado por nombre.

public:
 property TItemType default[System::String ^] { TItemType get(System::String ^ name); };
public TItemType this[string name] { get; }
member this.Item(string) : 'ItemType
Default Public ReadOnly Property Item(name As String) As TItemType

Parámetros

name
String

Nombre del tipo que se va a recuperar.

Valor de propiedad

TItemType

Valor en el índice especificado por nombre.

Excepciones

No se encontró name.

El valor de name es null.

Se aplica a

Item[TFindType]

Obtiene el valor en el índice especificado por tipo.

public:
 property TItemType default[TFindType] { TItemType get(TFindType value); };
public TItemType this[TFindType value] { get; }
member this.Item('FindType) : 'ItemType
Default Public ReadOnly Property Item(value As TFindType) As TItemType

Parámetros

value
TFindType

Tipo que se va a recuperar.

Valor de propiedad

TItemType

Valor en el índice especificado por tipo.

Excepciones

No se encontró value.

El valor de value es null.

Se aplica a