Visual Basic (Declaration) | |
---|---|
Public Overloads Function ExecuteBeforeSet( _ ByVal triggerItemInstance As Object, _ ByVal memberName As String, _ ByVal proposedValue As Object _ ) As VerifierResultCollection |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As VerifierEngine Dim triggerItemInstance As Object Dim memberName As String Dim proposedValue As Object Dim value As VerifierResultCollection value = instance.ExecuteBeforeSet(triggerItemInstance, memberName, proposedValue) |
C# | |
---|---|
public VerifierResultCollection ExecuteBeforeSet( object triggerItemInstance, string memberName, object proposedValue ) |
C++/CLI | |
---|---|
public: VerifierResultCollection^ ExecuteBeforeSet( Object^ triggerItemInstance, String^ memberName, Object^ proposedValue ) |
Parameters
- triggerItemInstance
- Instance on which the "trigger" occurs
- memberName
- A member name that in the context of the type of the specified instance uniquely defines a TriggerItem.
- 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 verifiersApplicable 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.
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