Share via


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