IsActive Example (Visual Basic)

   

This example shows how to ensure that the event creator object is ready to generate Visual Studio Analyzer events. Refer to ISystemDebugEventFire Example (Visual Basic) to see this code in context.

' Verify that the event creator object is ready to generate events
Private Sub Sample_IsActive()
   Dim bIsActive As Boolean
   ' bIsActive is passed by reference and gets the answer
   ' Run method.
   mIEC.IsActive bIsActive
End Sub