Share via


ContextCollection.GetEnumerator Method (Int32, Int32)

Retrieves an enumerator for the specified subset of contexts in the collection, sorting on context name in ascending order.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function GetEnumerator ( _
    offset As Integer, _
    count As Integer _
) As IEnumerator(Of Context)
'Usage
Dim instance As ContextCollection
Dim offset As Integer
Dim count As Integer
Dim returnValue As IEnumerator(Of Context)

returnValue = instance.GetEnumerator(offset, _
    count)
IEnumerator<Context> GetEnumerator(
    int offset,
    int count
)

Parameters

  • offset
    Type: System.Int32

    The offset in the result set from which values are returned.

  • count
    Type: System.Int32

    The number of elements to return.

Return Value

Type: System.Collections.Generic.IEnumerator<Context>
An [IEnumerator] over the Context.

See Also

Reference

ContextCollection Interface

ContextCollection Members

GetEnumerator Overload

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace