ViewObject Members

Include Protected Members
Include Inherited Members

Represents a view within a Microsoft InfoPath 2010 form.

The ViewObject type exposes the following members.

Properties

  Name Description
Public property Name Gets the name of the view. (Inherited from View.)
Public property Window Gets a reference to the window associated with the view. (Inherited from 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 EnableAutoUpdate Enables automatic synchronization between a form's underlying XML document and the associated view. (Inherited from View.)
Public method ExecuteAction Executes a Microsoft InfoPath 2010 editing command against a form's underlying XML document, based on the data selected in the view. (Inherited from View.)
Public method Export Exports the view to a file of the specified format. (Inherited from View.)
Public method ForceUpdate Forces synchronization between a form's underlying XML document and the associated view. (Inherited from 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. (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. (Inherited from 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. (Inherited from View.)
Public method SelectText 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 SwitchView Changes the active view of a Microsoft InfoPath 2010 form to a specified view. (Inherited from View.)

Top

See Also

Reference

ViewObject Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace