Partilhar via


DocumentContent Class

Definition

The content of the patient document.

public class DocumentContent : System.ClientModel.Primitives.IJsonModel<Azure.Health.Insights.RadiologyInsights.DocumentContent>, System.ClientModel.Primitives.IPersistableModel<Azure.Health.Insights.RadiologyInsights.DocumentContent>
type DocumentContent = class
    interface IJsonModel<DocumentContent>
    interface IPersistableModel<DocumentContent>
Public Class DocumentContent
Implements IJsonModel(Of DocumentContent), IPersistableModel(Of DocumentContent)
Inheritance
DocumentContent
Implements

Constructors

DocumentContent(DocumentContentSourceType, String)

Initializes a new instance of DocumentContent.

Properties

SourceType

The type of the content's source. In case the source type is 'inline', the content is given as a string (for instance, text). In case the source type is 'reference', the content is given as a URI.

Value

The content of the document, given either inline (as a string) or as a reference (URI).

Explicit Interface Implementations

IJsonModel<DocumentContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DocumentContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DocumentContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to