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
scope
Type: Microsoft.Office.Server.Search.Administration.ScopeA Scope object.
Return Value
Type: System.Boolean
true indicates the display group's scope collection includes the specified scope; otherwise, false.