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
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
The value at the specified index by type.
Exceptions
The value
is not found.
The value
is null
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기