IdeaBlade DevForce 2010 Help Reference
ExecuteBeforeSet(Object,TriggerItem,Object) Method
See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > VerifierEngine Class > ExecuteBeforeSet Method : ExecuteBeforeSet(Object,TriggerItem,Object) Method



triggerItemInstance
Instance on which the "trigger" occurs
triggerItem
The "event" that is triggering this execution
proposedValue
The proposed value to that will be applied to the TriggerItem should the Verification succeed.
Executes all applicable VerifierExecutionModes.OnBeforeSetTriggers verifiers against the specified instance.

Syntax

Visual Basic (Declaration) 
Public Overloads Function ExecuteBeforeSet( _
   ByVal triggerItemInstance As Object, _
   ByVal triggerItem As TriggerItem, _
   ByVal proposedValue As Object _
) As VerifierResultCollection
Visual Basic (Usage)Copy Code
Dim instance As VerifierEngine
Dim triggerItemInstance As Object
Dim triggerItem As TriggerItem
Dim proposedValue As Object
Dim value As VerifierResultCollection
 
value = instance.ExecuteBeforeSet(triggerItemInstance, triggerItem, proposedValue)
C++/CLI 
public:
VerifierResultCollection^ ExecuteBeforeSet( 
   Object^ triggerItemInstance,
   TriggerItem^ triggerItem,
   Object^ proposedValue
) 

Parameters

triggerItemInstance
Instance on which the "trigger" occurs
triggerItem
The "event" that is triggering this execution
proposedValue
The proposed value to that will be applied to the TriggerItem should the Verification succeed.

Return Value

VerifierResultCollection containing the combined results of all executed verifiers

Remarks

Applicable verifiers are those verifiers with the VerifierExecutionModes.OnBeforeSetTriggers flag set and that have been registered for both the type of the specified instance and the specified TriggerItem.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.