你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ClassifyDocumentOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Document classification parameters.
public class ClassifyDocumentOptions : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.ClassifyDocumentOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.ClassifyDocumentOptions>
type ClassifyDocumentOptions = class
interface IJsonModel<ClassifyDocumentOptions>
interface IPersistableModel<ClassifyDocumentOptions>
Public Class ClassifyDocumentOptions
Implements IJsonModel(Of ClassifyDocumentOptions), IPersistableModel(Of ClassifyDocumentOptions)
- Inheritance
-
ClassifyDocumentOptions
- Implements
Constructors
ClassifyDocumentOptions(String, BinaryData) |
Initializes a new instance of ClassifyDocumentOptions. |
ClassifyDocumentOptions(String, Uri) |
Initializes a new instance of ClassifyDocumentOptions. |
Properties
BytesSource |
Bytes of the document to classify. To assign a byte[] to this property use FromBytes(Byte[]). The byte[] will be serialized to a Base64 encoded string. Examples:
|
ClassifierId |
Unique document classifier name. |
Pages |
1-based page numbers to analyze. Ex. "1-3,5,7-9". |
Split |
Document splitting mode. |
UriSource |
Document URL to classify. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<ClassifyDocumentOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<ClassifyDocumentOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<ClassifyDocumentOptions>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<ClassifyDocumentOptions>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<ClassifyDocumentOptions>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |