Edytuj

Udostępnij za pośrednictwem


View 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, seeViewObject.

public interface class View
[System.Runtime.InteropServices.Guid("096CD55D-0786-11D1-95FA-0080C78EE3BB")]
public interface View
type View = interface
Public Interface View
Derived
Attributes

Properties

Name

Gets the name of the view.

Window

Gets a reference to the window associated with the view.

Methods

DisableAutoUpdate()

Disables automatic synchronization between a form's underlying XML document and the associated view.

EnableAutoUpdate()

Enables automatic synchronization between a form's underlying XML document and the associated view.

ExecuteAction(String, Object)

Executes a Microsoft Office InfoPath 2003 editing command against a form's underlying XML document, based on the data selected in the view.

Export(String, String)

Exports the view to a file of the specified format.

ForceUpdate()

Forces synchronization between a form's underlying XML document and the associated view.

GetContextNodes(Object, Object)

Gets a reference to an XMLNodesCollection collection that is populated with XML Document Object Model (DOM) nodes based on the current context.

GetSelectedNodes()

Gets a reference to an XMLNodesCollection collection that is populated with XML Document Object Model (DOM) nodes based on the current selection of items in a view.

SelectNodes(IXMLDOMNode, Object, Object)

Selects a range of nodes in a view based on the specified starting XML Document Object Model (DOM) node, the ending XML DOM node, and the view context.

SelectText(IXMLDOMNode, Object)

Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node.

SwitchView(String)

Changes the active view of a Microsoft Office InfoPath form to a specified view.

Applies to