Breyta

Deila með


ModelMemberCollection<TItemType,TFindType>.Item[] Property

Definition

Gets the value at the specified index.

Overloads

Item[String]

Gets the value at the specified index by name.

Item[TFindType]

Gets the value at the specified index by type.

Item[String]

Gets the value at the specified index by name.

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

Parameters

name
String

The name of the type to retrieve.

Property Value

TItemType

The value at the specified index by name.

Exceptions

The name is not found.

The name is null.

Applies to

Item[TFindType]

Gets the value at the specified index by type.

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

Parameters

value
TFindType

The type to retrieve.

Property Value

TItemType

The value at the specified index by type.

Exceptions

The value is not found.

The value is null.

Applies to