- data
- The data to validate.
- validationMessages
- The validation messages.
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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7