Share via


View2 members

Include protected members
Include inherited members

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.

The View2 type exposes the following members.

Properties

  Name Description
Public property Name Gets the name of the view. (Inherited from View.)
Public property Name Gets the name of the view.
Public property Window Gets a reference to the window associated with the view. (Inherited from View.)
Public property Window Gets a reference to the window associated with the view.

Top

Methods

  Name Description
Public method DisableAutoUpdate() Disables automatic synchronization between a form's underlying XML document and the associated view. (Inherited from View.)
Public method DisableAutoUpdate() Disables automatic synchronization between a form's underlying XML document and the associated view.
Public method EnableAutoUpdate() Enables automatic synchronization between a form's underlying XML document and the associated view. (Inherited from View.)
Public method EnableAutoUpdate() Enables automatic synchronization between a form's underlying XML document and the associated view.
Public method 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. (Inherited from View.)
Public method 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.
Public method Export(String, String) Exports the view to a file of the specified format. (Inherited from View.)
Public method Export(String, String) Exports the view to a file of the specified format.
Public method ExportAsFixedFormat Exports the view to a file of the specified format, and supports initializing a COM add-in for exporting to a fixed-format file.
Public method ForceUpdate() Forces synchronization between a form's underlying XML document and the associated view. (Inherited from View.)
Public method ForceUpdate() Forces synchronization between a form's underlying XML document and the associated view.
Public method 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. (Inherited from View.)
Public method 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.
Public method 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. (Inherited from View.)
Public method 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.
Public method 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. (Inherited from View.)
Public method 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.
Public method SelectText(IXMLDOMNode, Object) Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node. (Inherited from View.)
Public method SelectText(IXMLDOMNode, Object) Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node.
Public method SwitchView(String) Changes the active view of a Microsoft Office InfoPath form to a specified view. (Inherited from View.)
Public method SwitchView(String) Changes the active view of a Microsoft InfoPath form to a specified view.

Top

See also

Reference

View2 interface

Microsoft.Office.Interop.InfoPath namespace