Share via


TextHighlight Constructors

Definition

Overloads

TextHighlight()

Initializes a new instance of the TextHighlight class.

TextHighlight(String, Nullable<Int32>)

Initializes a new instance of the TextHighlight class.

TextHighlight()

Initializes a new instance of the TextHighlight class.

public TextHighlight ();
Public Sub New ()

Applies to

TextHighlight(String, Nullable<Int32>)

Initializes a new instance of the TextHighlight class.

public TextHighlight (string text = default, int? occurrence = default);
new Microsoft.Bot.Schema.TextHighlight : string * Nullable<int> -> Microsoft.Bot.Schema.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