Share via


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