Validate Method
See Also 
SourceCode.Framework Namespace > PersistableObject Class : Validate Method



Glossary Item Box

Validates this instance.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function Validate() As ValidationErrorCollection
Visual Basic (Usage)Copy Code
Dim instance As PersistableObject
Dim value As ValidationErrorCollection
 
value = instance.Validate()
C# 
protected virtual ValidationErrorCollection Validate()
C++/CLI 
protected:
virtual ValidationErrorCollection^ Validate(); 

Requirements

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

See Also