Share via


KeywordCollection.GetKeyword Method

Retrieves the keyword with the specified term.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Keywords
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Function GetKeyword ( _
    term As String _
) As Keyword
'Usage
Dim instance As KeywordCollection
Dim term As String
Dim returnValue As Keyword

returnValue = instance.GetKeyword(term)
Keyword GetKeyword(
    string term
)

Parameters

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Keyword
The Keyword if one with the given term exists in the collection, [null] otherwise

See Also

Reference

KeywordCollection Interface

KeywordCollection Members

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace