Visual Basic (Declaration) | |
---|---|
Public Function Validate( _ ByVal context As ValidationContext _ ) As ValidationEntry() |
C# | |
---|---|
public ValidationEntry[] Validate( ValidationContext context ) |
Parameters
- context
- The ValidationContext object containing the contextual information used to drive the validation.
Return Value
A ValidationEntry array containing all of the validation entries found, or empty if none are found.Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2