Share via


KeywordCollection.AddKeyword Method

Adds a keyword with the specified term to 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 AddKeyword ( _
    term As String _
) As Keyword
'Usage
Dim instance As KeywordCollection
Dim term As String
Dim returnValue As Keyword

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

Parameters

Return Value

Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Keyword
A Keyword representing the added keyword.

See Also

Reference

KeywordCollection Interface

KeywordCollection Members

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