編輯

共用方式為


DocContextChangeEvent Interface

Definition

This type is a wrapper for a COM interface implemented by a coclass that is required by managed code for COM interoperability. To access the members specified by this interface, use the type that wraps the coclass that implements this interface. For information about that type, including usage, remarks, and examples, seeDocContextChangeEventObject.

public interface class DocContextChangeEvent : Microsoft::Office::Interop::InfoPath::DocEvent
[System.Runtime.InteropServices.Guid("096CD6D2-0786-11D1-95FA-0080C78EE3BB")]
public interface DocContextChangeEvent : Microsoft.Office.Interop.InfoPath.DocEvent
type DocContextChangeEvent = interface
    interface DocEvent
Public Interface DocContextChangeEvent
Implements DocEvent
Derived
Attributes
Implements

Properties

Context

Gets a reference to the XML Document Object Model (DOM) node that is the new context node provided by DocContextChangeEventObject object.

IsUndoRedo

Gets a value indicating whether the context change event occurred in response to undoing an operation or redoing an operation.

Type

Gets the type of context change event that occurred when the OnContextChange event was triggered.

XDocument

Gets a reference to the XDocument object that is associated with the DocContextChangeEventObject object in an OnContextChange event.

Applies to