←Select platform

DicomTestConformanceCallback Delegate

Summary

Processes each Data Element of the Data Set to determine conformance.

Syntax

C#
VB
Java
WinRT C#
C++
public delegate bool DicomTestConformanceCallback(  
   Leadtools.Dicom.DicomElement element, 
   Leadtools.Dicom.DicomTestConformanceFlags flags 
) 
Public Delegate Function DicomTestConformanceCallback( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal flags As Leadtools.Dicom.DicomTestConformanceFlags _ 
) As Boolean 
public delegate bool DicomTestConformanceCallback(  
   Leadtools.Dicom.DicomElement element, 
   Leadtools.Dicom.DicomTestConformanceFlags flags 
) 
public interface DicomTestConformanceCallback  
{ 
  public boolean onDicomTestConformanceCallback(DicomElement element, int flags); 
} 
             
DicomTestConformanceCallback(  
   element , 
   flags  
) 
public delegate bool DicomTestConformanceCallback(  
   Leadtools.Dicom.DicomElement^ element, 
   Leadtools.Dicom.DicomTestConformanceFlags flags 
) 

Parameters

element
The DicomElement tested.

flags
Flags that indicate any errors.

Return Value

Return true to continue, false to abort the test.

Remarks

The 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.

Example

For an example, refer to TestConformance.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly