Partager via


ClassifyDocumentOptions.BytesSource Property

Definition

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:

  • BinaryData.FromBytes(new byte[] { 1, 2, 3 }): Creates a payload of "AQID".

public BinaryData BytesSource { get; }
member this.BytesSource : BinaryData
Public ReadOnly Property BytesSource As BinaryData

Property Value

Applies to