DevForce Help Reference
TriggerContext Constructor


The TriggerItem associated with this context
The instance on which the TriggerItem was executed
The timing of the TriggerItem "event"
The proposed value involved in the event that a "BeforeSet" trigger was involved.
Initializes a new instance of the TriggerContext class.
Syntax
'Declaration
 
Public Function New( _
   ByVal triggerItem As TriggerItem, _
   ByVal triggerItemInstance As Object, _
   ByVal timing As TriggerTiming, _
   ByVal proposedValue As Object _
)
'Usage
 
Dim triggerItem As TriggerItem
Dim triggerItemInstance As Object
Dim timing As TriggerTiming
Dim proposedValue As Object
 
Dim instance As New TriggerContext(triggerItem, triggerItemInstance, timing, proposedValue)

Parameters

triggerItem
The TriggerItem associated with this context
triggerItemInstance
The instance on which the TriggerItem was executed
timing
The timing of the TriggerItem "event"
proposedValue
The proposed value involved in the event that a "BeforeSet" trigger was involved.
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

TriggerContext Class
TriggerContext Members

Send Feedback