Event.Trigger method (Visio)
Causes an event's action to be performed.
Syntax
expression. Trigger
( _ContextString_
)
expression A variable that represents an Event object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
ContextString | Required | String | The string to send to the target of the event. |
Return value
Nothing
Remarks
Triggering an event causes the action associated with the event to be performed. The specified context string is passed to the target of the action:
If the action is to run an add-on (visEvtCodeRunAddon), the string is passed in the command line string sent to the add-on.
If the action is to send a notification to the calling program (visEvtCodeAdvise), the string is passed in the moreInfo parameter of the notification.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.