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.For an example, refer to TestConformance.
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.
The purpose of DicomTestConformanceCallback is just to verify that the data provided in the DicomDataSet conforms to the standard.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)