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
term
Type: System.StringThe keyword term.
Return Value
Type: Microsoft.SharePoint.Search.Extended.Administration.Keywords.Keyword
A Keyword representing the added keyword.
See Also
Reference
Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace