Share via


LanguageResourcePhraseList.AddPhrase Method (String, String, String)

Adds a new language resource phrase to the list with the author name.

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

Syntax

'Declaration
Public Function AddPhrase ( _
    strPhrase As String, _
    strMapping As String, _
    strAuthor As String _
) As LanguageResourcePhrase
'Usage
Dim instance As LanguageResourcePhraseList
Dim strPhrase As String
Dim strMapping As String
Dim strAuthor As String
Dim returnValue As LanguageResourcePhrase

returnValue = instance.AddPhrase(strPhrase, _
    strMapping, strAuthor)
public LanguageResourcePhrase AddPhrase(
    string strPhrase,
    string strMapping,
    string strAuthor
)

Parameters

  • strMapping
    Type: System.String

    The language resource phrase mapping.

  • strAuthor
    Type: System.String

    The language resource phrase author name.

Return Value

Type: Microsoft.Office.Server.Search.Administration.LanguageResourcePhrase
The language resource phrase added to the list.

Remarks

If the phrase already exists in the list, it will not be added.

See Also

Reference

LanguageResourcePhraseList Class

LanguageResourcePhraseList Members

AddPhrase Overload

Microsoft.Office.Server.Search.Administration Namespace