다음을 통해 공유


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

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

See Also

Reference

IndexedCollection<T> Class

IndexedCollection<T> Members

Item Overload

Microsoft.SharePoint.Taxonomy.Generic Namespace