Share via


PropertyCollection<T>.Item property (String)

Gets a string 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 String _
) As T
    Get
'Usage
Dim instance As PropertyCollection
Dim index As String
Dim value As T

value = instance(index)
public T this[
    string 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: LabelCollection - Value

See also

Reference

PropertyCollection<T> class

PropertyCollection<T> members

Item overload

Microsoft.SharePoint.Taxonomy.Generic namespace