共用方式為


SynonymMapsAttribute Class

Definition

Indicates that the Field generated by FieldBuilder for the target property should have its SynonymMaps property set to the specified value.

[System.AttributeUsage(System.AttributeTargets.Property)]
public class SynonymMapsAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type SynonymMapsAttribute = class
    inherit Attribute
Public Class SynonymMapsAttribute
Inherits Attribute
Inheritance
SynonymMapsAttribute
Attributes

Constructors

SynonymMapsAttribute(String[])

Indicates that the specified synonym maps should be used for searches on the target field.

Properties

SynonymMaps

A list of synonym map names that associates synonym maps with the field.

Applies to