共用方式為


ContractualRulesLinkAttribution Class

Definition

Defines a contractual rule for link attribution.

[Newtonsoft.Json.JsonObject("ContractualRules/LinkAttribution")]
public class ContractualRulesLinkAttribution : Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesAttribution
[<Newtonsoft.Json.JsonObject("ContractualRules/LinkAttribution")>]
type ContractualRulesLinkAttribution = class
    inherit ContractualRulesAttribution
Public Class ContractualRulesLinkAttribution
Inherits ContractualRulesAttribution
Inheritance
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

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.

Properties

MustBeCloseToContent

Gets 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.

(Inherited from ContractualRulesAttribution)
OptionalForListDisplay

Gets indicates whether this provider's attribution is optional.

TargetPropertyName

Gets the name of the field that the rule applies to.

(Inherited from ContractualRulesContractualRule)
Text

Gets or sets the attribution text.

Url

Gets or sets the URL to the provider's website. Use text and URL to create the hyperlink.

Methods

Validate()

Validate the object.

Applies to