LanguageResourcePhraseList.AddPhrase Method (String, String)
Adds a new language resource phrase to the list.
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 _
) As LanguageResourcePhrase
'Usage
Dim instance As LanguageResourcePhraseList
Dim strPhrase As String
Dim strMapping As String
Dim returnValue As LanguageResourcePhrase
returnValue = instance.AddPhrase(strPhrase, _
strMapping)
public LanguageResourcePhrase AddPhrase(
string strPhrase,
string strMapping
)
Parameters
strPhrase
Type: System.StringThe language resource phrase.
strMapping
Type: System.StringThe language resource phrase mapping.
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