TextSpanAnnotatedRegion Class

Definition

Describes a location in the associated AIContent based on starting and ending character indices.

public ref class TextSpanAnnotatedRegion sealed : Microsoft::Extensions::AI::AnnotatedRegion
public sealed class TextSpanAnnotatedRegion : Microsoft.Extensions.AI.AnnotatedRegion
type TextSpanAnnotatedRegion = class
    inherit AnnotatedRegion
Public NotInheritable Class TextSpanAnnotatedRegion
Inherits AnnotatedRegion
Inheritance
TextSpanAnnotatedRegion

Remarks

This AnnotatedRegion typically applies to TextContent.

Constructors

TextSpanAnnotatedRegion()

Initializes a new instance of the TextSpanAnnotatedRegion class.

Properties

EndIndex

Gets or sets the end character index (exclusive) of the annotated span in the AIContent.

StartIndex

Gets or sets the start character index (inclusive) of the annotated span in the AIContent.

Applies to