ModelMemberCollection<TItemType,TFindType>.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET