PrepAway - Latest Free Exam Questions & Answers

Which parameter should you use?

You are developing an Office Visio 2007 Shared Add-in.

You construct an event sink class that listens to events from the Visio 2007 Application, Document, Page, and Shape objects. The VisEventProc function has the following signature:

Public Function VisEventProc(
ByVal eventCode As Short,
ByVal source As Object,
ByVal eventId As Integer,
ByVal eventSequenceNumber As Integer,
ByVal subject As Object,
ByVal moreInformation As Object) As Object

You need to construct a switch to identify the object that raised the event.

Which parameter should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
eventCode

B.
moreInformation

C.
source

D.
subject


Leave a Reply