ContractualRulesMediaAttribution Class

Definition

Defines a contractual rule for media attribution.

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

Constructors

ContractualRulesMediaAttribution()

Initializes a new instance of the ContractualRulesMediaAttribution class.

ContractualRulesMediaAttribution(String, Nullable<Boolean>, String)

Initializes a new instance of the ContractualRulesMediaAttribution 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)
TargetPropertyName

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

(Inherited from ContractualRulesContractualRule)
Url

Gets the URL that you use to create of hyperlink of the media content. For example, if the target is an image, you would use the URL to make the image clickable.

Applies to