Share via


KeywordCollection.Create Method

Creates a keyword.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function Create ( _
    term As String, _
    startDate As DateTime _
) As Keyword
'Usage
Dim instance As KeywordCollection
Dim term As String
Dim startDate As DateTime
Dim returnValue As Keyword

returnValue = instance.Create(term, startDate)
public Keyword Create(
    string term,
    DateTime startDate
)

Parameters

  • startDate
    Type: System.DateTime
    A System.Date object representing the keyword's start date.

Return Value

Type: Microsoft.Office.Server.Search.Administration.Keyword
A Keyword object.

See Also

Reference

KeywordCollection Class

KeywordCollection Members

Microsoft.Office.Server.Search.Administration Namespace