Delen via


ContractualRulesAttribution Constructors

Definition

Overloads

ContractualRulesAttribution()

Initializes a new instance of the ContractualRulesAttribution class.

ContractualRulesAttribution(String, Nullable<Boolean>)

Initializes a new instance of the ContractualRulesAttribution class.

ContractualRulesAttribution()

Initializes a new instance of the ContractualRulesAttribution class.

public ContractualRulesAttribution ();
Public Sub New ()

Applies to

ContractualRulesAttribution(String, Nullable<Boolean>)

Initializes a new instance of the ContractualRulesAttribution class.

public ContractualRulesAttribution (string targetPropertyName = default, bool? mustBeCloseToContent = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesAttribution : string * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesAttribution
Public Sub New (Optional targetPropertyName As String = Nothing, Optional mustBeCloseToContent As Nullable(Of Boolean) = Nothing)

Parameters

targetPropertyName
String

The name of the field that the rule applies to.

mustBeCloseToContent
Nullable<Boolean>

A Boolean value that determines whether the contents of the rule must be placed in close proximity to the field that the rule applies to. If true, the contents must be placed in close proximity. If false, or this field does not exist, the contents may be placed at the caller's discretion.

Applies to