DeserializeAsync

DeserializeAsync(string, DicomXmlSerializerOptions?)

Parses the text representing a single XML value into an instance of the Dataset.

public static Task<Dataset> DeserializeAsync(string xml, DicomXmlSerializerOptions? options = null)
ParameterTypeDescription
xmlStringThe XML text to parse.
optionsDicomXmlSerializerOptionsOptions that controls serialization/deserialization process of DICOM objects.

Return Value

The Dataset or null.

See Also


DeserializeAsync(Stream, DicomXmlSerializerOptions?)

Parses the text representing a single XML value into an instance of the Dataset.

public static Task<Dataset> DeserializeAsync(Stream stream, 
    DicomXmlSerializerOptions? options = null)
ParameterTypeDescription
streamStreamThe XML stream to parse.
optionsDicomXmlSerializerOptionsOptions that controls serialization/deserialization process of DICOM objects.

Return Value

The Dataset or null.

See Also