KeywordCollection.ContainsKeyword Method
Checks if a keyword with the specified name is contained in the collection.
Namespace: Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly: Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)
Syntax
'Declaration
Function ContainsKeyword ( _
term As String _
) As Boolean
'Usage
Dim instance As KeywordCollection
Dim term As String
Dim returnValue As Boolean
returnValue = instance.ContainsKeyword(term)
bool ContainsKeyword(
string term
)
Parameters
term
Type: System.StringThe keyword term.
Return Value
Type: System.Boolean
[true] if a keyword with the specified term is contained in the collection, [false] otherwise.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace