←Select platform

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 Leadtools.Dicom.Common.Extensions.LoadXmlBeforeElementData _ 
) As Boolean 
public delegate bool LoadXmlBeforeElementCallback(  
   Leadtools.Dicom.Common.Extensions.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly