ContractualRulesTextAttribution 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
ContractualRulesTextAttribution() |
Initializes a new instance of the ContractualRulesTextAttribution class. |
ContractualRulesTextAttribution(String, String, Nullable<Boolean>, Nullable<Boolean>) |
Initializes a new instance of the ContractualRulesTextAttribution class. |
ContractualRulesTextAttribution()
Initializes a new instance of the ContractualRulesTextAttribution class.
public ContractualRulesTextAttribution ();
Public Sub New ()
Applies to
ContractualRulesTextAttribution(String, String, Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the ContractualRulesTextAttribution class.
public ContractualRulesTextAttribution (string text, string targetPropertyName = default, bool? mustBeCloseToContent = default, bool? optionalForListDisplay = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesTextAttribution : string * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesTextAttribution
Public Sub New (text As String, Optional targetPropertyName As String = Nothing, Optional mustBeCloseToContent As Nullable(Of Boolean) = Nothing, Optional optionalForListDisplay As Nullable(Of Boolean) = Nothing)
Parameters
- text
- String
The attribution text. Text attribution applies to the entity as a whole and should be displayed immediately following the entity presentation. If there are multiple text or link attribution rules that do not specify a target, you should concatenate them and display them using a "Data from:" label.
- 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