Share via


ScopeDisplayGroup.Contains Method

Gets a Boolean value indicating whether the display group's scope collection contains the specified scope.

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

Syntax

'Declaration
Public Function Contains ( _
    scope As Scope _
) As Boolean
'Usage
Dim instance As ScopeDisplayGroup
Dim scope As Scope
Dim returnValue As Boolean

returnValue = instance.Contains(scope)
public bool Contains(
    Scope scope
)

Parameters

Return Value

Type: System.Boolean
true indicates the display group's scope collection includes the specified scope; otherwise, false.

See Also

Reference

ScopeDisplayGroup Class

ScopeDisplayGroup Members

Microsoft.Office.Server.Search.Administration Namespace