DocumentSpan クラス
プロパティのコンテンツの連続した領域。オフセットと長さとして指定されます。
- 継承
-
builtins.objectDocumentSpan
コンストラクター
DocumentSpan(**kwargs: Any)
メソッド
from_dict |
DocumentSpan の図形のディクテーションをモデル自体に変換します。 |
to_dict |
DocumentSpan の dict 表現を返します。 |
from_dict
DocumentSpan の図形のディクテーションをモデル自体に変換します。
from_dict(data: Dict) -> DocumentSpan
パラメーター
名前 | 説明 |
---|---|
data
必須
|
DocumentSpan の図形の辞書。 |
戻り値
型 | 説明 |
---|---|
DocumentSpan |
to_dict
属性
length
スパンで表されるコンテンツ内の文字数。
length: int
offset
スパンで表されるコンテンツの 0 から始まるインデックス。
offset: int
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for Python