Share via


SynonymMap Constructors

Definition

Overloads

SynonymMap()

Initializes a new instance of the SynonymMap class.

SynonymMap(String, String, String)

Initializes a new instance of the SynonymMap class.

SynonymMap()

Source:
SynonymMap.cs

Initializes a new instance of the SynonymMap class.

public SynonymMap ();
Public Sub New ()

Applies to

SynonymMap(String, String, String)

Source:
SynonymMap.cs

Initializes a new instance of the SynonymMap class.

public SynonymMap (string name, string synonyms, string eTag = default);
new Microsoft.Azure.Search.Models.SynonymMap : string * string * string -> Microsoft.Azure.Search.Models.SynonymMap
Public Sub New (name As String, synonyms As String, Optional eTag As String = Nothing)

Parameters

name
String

The name of the synonym map.

synonyms
String

A series of synonym rules in the specified synonym map format. The rules must be separated by newlines.

eTag
String

The ETag of the synonym map.

Applies to