LoadXmlBeforeElementCallback Delegate

Summary

Optional delegate method that is used with the LoadXml methods.

Syntax
C#
VB
C++
public delegate bool LoadXmlBeforeElementCallback( 
   LoadXmlBeforeElementData data 
) 
Public Delegate Function LoadXmlBeforeElementCallback( _ 
   ByVal data As LoadXmlBeforeElementData _ 
) As Boolean 
public delegate bool LoadXmlBeforeElementCallback(  
   LoadXmlBeforeElementData^ data 
) 

Parameters

data
An instance of the LoadXmlBeforeElementData class containing the progress callback data.

Return Value

true to include this DICOM element in the DicomDataSet; false to exclude the element from the DicomDataSet

Remarks

This delegate is called once for each DICOM element, before the element is added to the DicomDataSet. If you pass this delegate with the LoadXml methods, you must fill in certain fields of the data For details, see the documentation for LoadXmlBeforeElementData

Example

For an example, refer to SaveXmlCallback.

Requirements

Target Platforms

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

Leadtools.Dicom.Common Assembly