Class DicomXML
Does the conversion of DicomDataset to an XML string
Inheritance
System.Object
DicomXML
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FellowOakDicom.Serialization
Assembly: fo-dicom.core.dll
Syntax
public static class DicomXML
Methods
ConvertDicomToXML(DicomDataset)
Converts a DicomDataset to a XML-String
Declaration
public static string ConvertDicomToXML(DicomDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | The DicomDataset that is converted to XML-String |
Returns
Type | Description |
---|---|
System.String |
WriteToXml(DicomDataset)
Converts the DicomDataset into an XML string.
Declaration
public static string WriteToXml(this DicomDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | Dataset to serialize. |
Returns
Type | Description |
---|---|
System.String | An XML string. |
WriteToXml(DicomFile)
Converts the DicomFile into an XML string.
Declaration
public static string WriteToXml(this DicomFile file)
Parameters
Type | Name | Description |
---|---|---|
DicomFile | file |
Returns
Type | Description |
---|---|
System.String | An XML string. |