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 DicomDataSetFor an example, refer to SaveXmlCallback.
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
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Reference
LoadXmlBeforeElementCallback MembersLeadtools.Dicom.Common.Extensions Namespace
LoadXml(DicomDataSet,String,DicomDataSetLoadXmlFlags,LoadXmlBeforeElementCallback,LoadXmlAfterElementCallback) Method
LoadXml(DicomDataSet,Stream,DicomDataSetLoadXmlFlags,LoadXmlBeforeElementCallback,LoadXmlAfterElementCallback) Method
LoadXml(DicomDataSet,String,DicomDataSetLoadXmlFlags) Method
LoadXml(DicomDataSet,Stream,DicomDataSetLoadXmlFlags) Method
SaveXml(DicomDataSet,String,DicomDataSetSaveXmlFlags,SaveXmlCallback) Method
SaveXml(DicomDataSet,Stream,DicomDataSetSaveXmlFlags,SaveXmlCallback) Method
SaveXml(DicomDataSet,String,DicomDataSetSaveXmlFlags) Method
SaveXml(DicomDataSet,Stream,DicomDataSetSaveXmlFlags) Method
SaveXmlCallback Delegate
LoadXmlBeforeElementCallback Delegate
LoadXmlAfterElementCallback Delegate