ContractualRulesMediaAttribution 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
ContractualRulesMediaAttribution() |
Initializes a new instance of the ContractualRulesMediaAttribution class. |
ContractualRulesMediaAttribution(String, Nullable<Boolean>, String) |
Initializes a new instance of the ContractualRulesMediaAttribution class. |
ContractualRulesMediaAttribution()
Initializes a new instance of the ContractualRulesMediaAttribution class.
public ContractualRulesMediaAttribution ();
Public Sub New ()
Applies to
ContractualRulesMediaAttribution(String, Nullable<Boolean>, String)
Initializes a new instance of the ContractualRulesMediaAttribution class.
public ContractualRulesMediaAttribution (string targetPropertyName = default, bool? mustBeCloseToContent = default, string url = default);
new Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesMediaAttribution : string * Nullable<bool> * string -> Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesMediaAttribution
Public Sub New (Optional targetPropertyName As String = Nothing, Optional mustBeCloseToContent As Nullable(Of Boolean) = Nothing, Optional url As String = Nothing)
Parameters
- 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.
- url
- String
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
Azure SDK for .NET