LoadXml(DicomDataSet,Stream,DicomDataSetLoadXmlFlags) Method

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

Parameters

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

stream
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.