Share via


XDocumentClass.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
Public Overridable Event OnSwitchView As _XDocumentEventSink2_OnSwitchViewEventHandler
'Usage
Dim instance As XDocumentClass
Dim handler As _XDocumentEventSink2_OnSwitchViewEventHandler

AddHandler instance.OnSwitchView, handler
public virtual event _XDocumentEventSink2_OnSwitchViewEventHandler OnSwitchView

Implements

_XDocumentEventSink2_Event.OnSwitchView

See also

Reference

XDocumentClass class

XDocumentClass members

Microsoft.Office.Interop.InfoPath namespace