T
The type of data to validate.
LEADTOOLS Medical (Leadtools.Dicom.Scp assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Validate<T> Method
See Also 
Leadtools.Dicom.Scp Namespace > ICommandRequestValidator Interface : Validate<T> Method



data
The data to validate.
validationMessages
The validation messages.
data
The data to validate.
validationMessages
The validation messages.
Validates the specified data.

Syntax

Visual Basic (Declaration) 
Sub Validate(Of T)( _
   ByVal data As T, _
   ByVal validationMessages As List(Of String) _
) 
Visual Basic (Usage)Copy Code
Dim instance As ICommandRequestValidator
Dim data As T
Dim validationMessages As List(Of String)
 
instance.Validate(Of T)(data, validationMessages)
C# 
void Validate<T>( 
   T data,
   List<string> validationMessages
)
C++/CLI 
void Validategeneric<typename T>
( 
   T^ data,
   List<String^>^ validationMessages
) 

Parameters

data
The data to validate.
validationMessages
The validation messages.

Type Parameters

T
The type of data to validate.

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.Scp requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features