Dela via


ContractualRulesLinkAttribution Constructors

Definition

Overloads

ContractualRulesLinkAttribution()

Initializes a new instance of the ContractualRulesLinkAttribution class.

ContractualRulesLinkAttribution(String, String, String, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the ContractualRulesLinkAttribution class.

ContractualRulesLinkAttribution()

Initializes a new instance of the ContractualRulesLinkAttribution class.

public ContractualRulesLinkAttribution ();
Public Sub New ()

Applies to

ContractualRulesLinkAttribution(String, String, String, Nullable<Boolean>, Nullable<Boolean>)

Initializes a new instance of the ContractualRulesLinkAttribution class.

public ContractualRulesLinkAttribution (string text, string url, string targetPropertyName = default, bool? mustBeCloseToContent = default, bool? optionalForListDisplay = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesLinkAttribution : string * string * string * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesLinkAttribution
Public Sub New (text As String, url 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.

url
String

The URL to the provider's website. Use text and URL to create the hyperlink.

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.

optionalForListDisplay
Nullable<Boolean>

Indicates whether this provider's attribution is optional.

Applies to