LoadXml(DicomDataSet,string,DicomDataSetLoadXmlFlags) Method

Summary
Loads the contents of a DICOM-encoded XML file.
Syntax
C#
VB
C++
public static void LoadXml( 
   this DicomDataSet ds, 
   string fileName, 
   DicomDataSetLoadXmlFlags xmlFlags 
) 
<ExtensionAttribute()> 
Public Overloads Shared Sub LoadXml( _ 
   ByVal ds As DicomDataSet, _ 
   ByVal fileName As String, _ 
   ByVal xmlFlags As DicomDataSetLoadXmlFlags _ 
)  
[ExtensionAttribute()] 
public: 
static void LoadXml(  
   DicomDataSet^ ds, 
   String^ fileName, 
   DicomDataSetLoadXmlFlags xmlFlags 
)  

Parameters

ds
The Data Set that will be created and populated with the contents of the DICOM XML input file

fileName
The name of the input XML file

xmlFlags
Flags that affect whether to ignore binary or all data from the DICOM XML input file

Remarks

Use this method to read the contents of a DICOM XML file. The DICOM XML file can be created using SaveXml By default, all binary data is read from the DICOM input XML file, but this behavior can be modified by passing appropriate DicomDataSetLoadXmlFlags

Example

For an example, refer to LoadXml.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.