Dela via


ContractualRulesLicenseAttribution Constructors

Definition

Overloads

ContractualRulesLicenseAttribution()

Initializes a new instance of the ContractualRulesLicenseAttribution class.

ContractualRulesLicenseAttribution(String, Nullable<Boolean>, License, String)

Initializes a new instance of the ContractualRulesLicenseAttribution class.

ContractualRulesLicenseAttribution()

Initializes a new instance of the ContractualRulesLicenseAttribution class.

public ContractualRulesLicenseAttribution ();
Public Sub New ()

Applies to

ContractualRulesLicenseAttribution(String, Nullable<Boolean>, License, String)

Initializes a new instance of the ContractualRulesLicenseAttribution class.

public ContractualRulesLicenseAttribution (string targetPropertyName = default, bool? mustBeCloseToContent = default, Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.License license = default, string licenseNotice = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesLicenseAttribution : string * Nullable<bool> * Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.License * string -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesLicenseAttribution
Public Sub New (Optional targetPropertyName As String = Nothing, Optional mustBeCloseToContent As Nullable(Of Boolean) = Nothing, Optional license As License = Nothing, Optional licenseNotice As String = 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.

license
License

The license under which the content may be used.

licenseNotice
String

The license to display next to the targeted field.

Applies to