ModelMemberCollection<TItemType,TFindType>.Item[] Proprietà

Definizione

Ottiene il valore in corrispondenza dell'indice specificato.

Overload

Item[String]

Ottiene o imposta il valore in corrispondenza dell'indice specificato per nome.

Item[TFindType]

Ottiene o imposta il valore in corrispondenza dell'indice specificato per tipo.

Item[String]

Ottiene o imposta il valore in corrispondenza dell'indice specificato per nome.

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

Parametri

name
String

Nome del tipo da recuperare.

Valore della proprietà

TItemType

Valore in corrispondenza dell'indice specificato per nome.

Eccezioni

L'oggetto name non è stato trovato.

L'elemento name è null.

Si applica a

Item[TFindType]

Ottiene o imposta il valore in corrispondenza dell'indice specificato per 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

Parametri

value
TFindType

Il tipo da recuperare.

Valore della proprietà

TItemType

Valore in corrispondenza dell'indice specificato per tipo.

Eccezioni

L'oggetto value non è stato trovato.

L'elemento value è null.

Si applica a