QueryRuleCollection.Contains method (String)
Namespace: Microsoft.Office.Server.Search.Query.Rules
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function Contains ( _
displayName As String _
) As Boolean
'Usage
Dim instance As QueryRuleCollection
Dim displayName As String
Dim returnValue As Boolean
returnValue = instance.Contains(displayName)
public bool Contains(
string displayName
)
Parameters
- displayName
Type: System.String
Return value
Type: System.Boolean