Freigeben über


TextHighlight Constructors

Definition

Overloads

TextHighlight()
TextHighlight(String, Nullable<Int32>)

Initializes a new instance of TextHighlight.

TextHighlight()

public TextHighlight();
Public Sub New ()

Applies to

TextHighlight(String, Nullable<Int32>)

Initializes a new instance of TextHighlight.

public TextHighlight(string text = default, int? occurrence = default);
new Microsoft.Agents.Core.Models.TextHighlight : string * Nullable<int> -> Microsoft.Agents.Core.Models.TextHighlight
Public Sub New (Optional text As String = Nothing, Optional occurrence As Nullable(Of Integer) = Nothing)

Parameters

text
String

Defines the snippet of text to highlight.

occurrence
Nullable<Int32>

Occurrence of the text field within the referenced text, if multiple exist.

Applies to