KnowledgeBaseFile.Contents Property
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.
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