OrderedCollectionBase<T>.Item property

Gets an item by its position in the collection. Position is zero-based.

Namespace:  Microsoft.Office.Server.Search.Query.Rules
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As T
    Get
'Usage
Dim instance As OrderedCollectionBase
Dim index As Integer
Dim value As T

value = instance(index)
public T this[
    int index
] { get; }

Parameters

Property value

Type: T

Exceptions

Exception Condition
ArgumentOutOfRangeException

Thrown when index is not a valid index in the collection.

See also

Reference

OrderedCollectionBase<T> class

OrderedCollectionBase<T> members

Microsoft.Office.Server.Search.Query.Rules namespace