ContractualRulesAttribution Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET