Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DicomTestConformanceCallback Delegate
See Also 
Leadtools.Dicom Namespace : DicomTestConformanceCallback Delegate



element
The DicomElement tested.
flags
Flags that indicate any errors.
Processes each Data Element of the Data Set to determine conformance.

Syntax

Visual Basic (Declaration) 
Public Delegate Function DicomTestConformanceCallback( _
   ByVal element As DicomElement, _
   ByVal flags As DicomTestConformanceFlags _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As New DicomTestConformanceCallback(AddressOf HandlerMethod)
C# 
public delegate bool DicomTestConformanceCallback( 
   DicomElement element,
   DicomTestConformanceFlags flags
)
C++/CLI 
public delegate bool DicomTestConformanceCallback( 
   DicomElement^ element,
   DicomTestConformanceFlags flags
)

Parameters

element
The DicomElement tested.
flags
Flags that indicate any errors.

Example

For an example, refer to TestConformance.

Remarks

The DicomDataSet.TestConformance method calls your DicomTestConformanceCallback to verify each DicomElement in the DicomDataSet.
The purpose of DicomTestConformanceCallback is just to verify that the data provided in the DicomDataSet conforms to the standard.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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