LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7.

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.

Return Value

Return true to continue, false to abort the test.

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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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