←Select platform

LoadXml(DicomDataSet,string,DicomDataSetLoadXmlFlags) Method

Summary

Loads the contents of a DICOM-encoded XML file.

Syntax

C#
VB
C++
[ExtensionAttribute()] 
public static void LoadXml( 
   DicomDataSet ds, 
   string fileName, 
   DicomDataSetLoadXmlFlags xmlFlags 
) 
<ExtensionAttribute()> 
Public Overloads Shared Sub LoadXml( _ 
   ByVal ds As Leadtools.Dicom.DicomDataSet, _ 
   ByVal fileName As String, _ 
   ByVal xmlFlags As Leadtools.Dicom.Common.Extensions.DicomDataSetLoadXmlFlags _ 
)  

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly