Share via


_XDocumentEventSink2_Event.OnSwitchView Event

This type is a wrapper for a coclass or coclass member that is required by managed code for COM interoperability. This class is not intended to be used in code.

Namespace:  Microsoft.Office.Interop.InfoPath
Assembly:  Microsoft.Office.Interop.InfoPath (in Microsoft.Office.Interop.InfoPath.dll)

Syntax

'Declaration
Event OnSwitchView As _XDocumentEventSink2_OnSwitchViewEventHandler
'Usage
Dim instance As _XDocumentEventSink2_Event
Dim handler As _XDocumentEventSink2_OnSwitchViewEventHandler

AddHandler instance.OnSwitchView, handler
event _XDocumentEventSink2_OnSwitchViewEventHandler OnSwitchView

See Also

Reference

_XDocumentEventSink2_Event Interface

_XDocumentEventSink2_Event Members

Microsoft.Office.Interop.InfoPath Namespace