Share via


KnowledgeBaseFile.Contents Property

Definition

The contents of the file.

In file bodies, this value comes from the body of the request, response, or multipart payload. In JSON bodies, this value is serialized as a field in the response.

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 Contents { get; }
member this.Contents : BinaryData
Public ReadOnly Property Contents As BinaryData

Property Value

Applies to