Udostępnij za pośrednictwem


DocumentSpan Struct

Definition

Contiguous region of the concatenated content property, specified as an offset and length.

public readonly struct DocumentSpan : IEquatable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan>
type DocumentSpan = struct
Public Structure DocumentSpan
Implements IEquatable(Of DocumentSpan)
Inheritance
DocumentSpan
Implements

Properties

Index

Zero-based index of the content represented by the span.

Length

Number of characters in the content represented by the span.

Methods

Equals(DocumentSpan)

Indicates whether the current DocumentSpan is equal to another object of the same type. They are considered equal if they have the same Index and the same Length.

ToString()

Returns a string representation of this DocumentSpan.

Applies to