ScopeDisplayGroup.IndexOf method

Gets the index for a specified scope.

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

Syntax

'Declaration
Public Function IndexOf ( _
    scope As Scope _
) As Integer
'Usage
Dim instance As ScopeDisplayGroup
Dim scope As Scope
Dim returnValue As Integer

returnValue = instance.IndexOf(scope)
public int IndexOf(
    Scope scope
)

Parameters

Return value

Type: System.Int32
A 32-bit integer that contains the index of the scope in the display group's scope collection.

See also

Reference

ScopeDisplayGroup class

ScopeDisplayGroup members

Microsoft.Office.Server.Search.Administration namespace