SynonymCollection.Item property

Gets a synonym from the collection, based on the specified keyword term.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    term As String _
) As Synonym
    Get
'Usage
Dim instance As SynonymCollection
Dim term As String
Dim value As Synonym

value = instance(term)
public Synonym this[
    string term
] { get; }

Parameters

  • term
    Type: System.String

    A string specifying the keyword term for the synonym.

Property value

Type: Microsoft.Office.Server.Search.Administration.Synonym
A Synonym object representing the specified synonym.

See also

Reference

SynonymCollection class

SynonymCollection members

Microsoft.Office.Server.Search.Administration namespace