Share via


DocumentContent(DocumentContentSourceType, String) Constructor

Definition

Initializes a new instance of DocumentContent.

public DocumentContent (Azure.Health.Insights.RadiologyInsights.DocumentContentSourceType sourceType, string value);
new Azure.Health.Insights.RadiologyInsights.DocumentContent : Azure.Health.Insights.RadiologyInsights.DocumentContentSourceType * string -> Azure.Health.Insights.RadiologyInsights.DocumentContent
Public Sub New (sourceType As DocumentContentSourceType, value As String)

Parameters

sourceType
DocumentContentSourceType

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
String

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

Exceptions

value is null.

Applies to