Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Validate Method
See Also 
Leadtools.Dicom.Common.Validation Namespace > DicomDataSetValidator Class : Validate Method



dataset
The dataset to validate.
continueOnError
If set to true continue of validation error, otherwise cancel validation.
dataset
The dataset to validate.
continueOnError
If set to true continue of validation error, otherwise cancel validation.
Validates the specified dataset.

Syntax

Visual Basic (Declaration) 
Public Shared Function Validate( _
   ByVal dataset As DicomDataSet, _
   ByVal continueOnError As Boolean _
) As Dictionary(Of DicomElement,String)
Visual Basic (Usage)Copy Code
Dim dataset As DicomDataSet
Dim continueOnError As Boolean
Dim value As Dictionary(Of DicomElement,String)
 
value = DicomDataSetValidator.Validate(dataset, continueOnError)
C# 
public static Dictionary<DicomElement,string> Validate( 
   DicomDataSet dataset,
   bool continueOnError
)
C++/CLI 
public:
static Dictionary<DicomElement^,String^>^ Validate( 
   DicomDataSet^ dataset,
   bool continueOnError
) 

Parameters

dataset
The dataset to validate.
continueOnError
If set to true continue of validation error, otherwise cancel validation.

Return Value

A dictionary of the elements validates as the key and the result of the validation as the value.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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