Deserialize

Deserialize(string, DicomXmlSerializerOptions?)

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

public static Dataset Deserialize(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


Deserialize(Stream, DicomXmlSerializerOptions?)

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

public static Dataset Deserialize(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