次の方法で共有


DocumentAnalysisModelFactory.DocumentSpan(Int32, Int32) メソッド

定義

DocumentSpan の新しいインスタンスを初期化します。

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan DocumentSpan(int offset = 0, int length = 0);
static member DocumentSpan : int * int -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan
Public Shared Function DocumentSpan (Optional offset As Integer = 0, Optional length As Integer = 0) As DocumentSpan

パラメーター

offset
Int32

スパンで表されるコンテンツの 0 から始まるインデックス。

length
Int32

スパンで表されるコンテンツ内の文字数。

戻り値

モック作成用の新しい DocumentSpan インスタンス。

適用対象