IndexedCollection<T>.Item Property (Guid)
GUID indexer for this collection
Namespace: Microsoft.SharePoint.Taxonomy.Generic
Assembly: Microsoft.SharePoint.Taxonomy (in Microsoft.SharePoint.Taxonomy.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Guid _
) As T
Get
'Usage
Dim instance As IndexedCollection
Dim index As Guid
Dim value As T
value = instance(index)
public T this[
Guid index
] { get; }
Parameters
- index
Type: System.Guid
Property Value
Type: T
The collection item at the index specified
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException |
Remarks
The string indexer matches against the following properties for the derived collections.
GroupCollection - Group.Id
TermCollection - Term.Id
TermSetCollection - TermSet.Id