Table of contents
Collapse the table of content
Expand the table of content

Event.Target Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Gets or sets the target of an event. Read/write.


expression . Target

expression A variable that represents a Event object.

Return Value



An event consists of an event-action pair. When the event occurs, the action is performed. An event also specifies the target of the action and arguments to send to the target.

If the action code of the event is visActCodeRunAddon , the Target property contains the name of the add-on to run.

If the action code of the event is visActCodeAdvise , the Target property is not available. Attempting to get or set the Target property for such an event causes an exception.

© 2018 Microsoft