View methods

Office 2013 and later

The View type exposes the following members.

  Name Description
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.
Public method ExecuteAction Executes a Microsoft InfoPath editing command against a form's underlying XML document, based on the data selected in the view.
Public method Export Exports the view to a file of the specified format.
Public method ForceUpdate Forces synchronization between a form's underlying XML document and the associated view.
Public method GetContextNodes 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.
Public method SelectNodes 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 Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node.
Public method SwitchView Changes the active view of a Microsoft InfoPath form to a specified view.
Top
Show: