Udostępnij za pośrednictwem


DocumentContent(DocumentContentSourceType, String) Konstruktor

Definicja

Inicjuje nowe wystąpienie usługi DocumentContent.

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

Parametry

sourceType
DocumentContentSourceType

Typ źródła zawartości. W przypadku, gdy typ źródła jest "wbudowany", zawartość jest podawana jako ciąg (na przykład tekst). Jeśli typ źródłowy to "odwołanie", zawartość jest podawana jako identyfikator URI.

value
String

Zawartość dokumentu podana w tekście (jako ciąg) lub jako odwołanie (URI).

Wyjątki

value ma wartość null.

Dotyczy