Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
LoadXmlBeforeElementCallback Delegate
See Also 
Leadtools.Dicom.Common.Extensions Namespace : LoadXmlBeforeElementCallback Delegate



data
An instance of the LoadXmlBeforeElementData class containing the progress callback data.
Optional delegate method that is used with the LoadXml methods.

Syntax

Visual Basic (Declaration) 
Public Delegate Function LoadXmlBeforeElementCallback( _
   ByVal data As LoadXmlBeforeElementData _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As New LoadXmlBeforeElementCallback(AddressOf HandlerMethod)
C# 
public delegate bool LoadXmlBeforeElementCallback( 
   LoadXmlBeforeElementData data
)
C++/CLI 
public delegate bool LoadXmlBeforeElementCallback( 
   LoadXmlBeforeElementData^ data
)

Parameters

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

Return Value

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

Example

For an example, refer to SaveXmlCallback.

Remarks

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features