DevForce Help Reference
DiscoverVerifiers Method


Forces the discovery of verifiers associated with a specific type.
Syntax
'Declaration
 
Public Overridable Sub DiscoverVerifiers( _
   ByVal type As Type _
) 
'Usage
 
Dim instance As VerifierEngine
Dim type As Type
 
instance.DiscoverVerifiers(type)
public virtual void DiscoverVerifiers( 
   Type type
)

Parameters

type
Remarks
Discovers all base class verifiers before derived class verifiers. Verifiers are discovered in the following order: attributed verifiers on the type, attributed verifiers on the "buddy" class, and finally verifiers provided from any IVerifierProvider implementations. In Silverlight applications, the standard Silverlight validation attributes will be discovered during attributed discovery.

This method should not in general need to be called since verifiers will be lazily discovered on an as-needed basis when they are first referenced.

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

Reference

VerifierEngine Class
VerifierEngine Members

Send Feedback