次の方法で共有


View 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 View type exposes the following members.

Properties

  Name Description
Public property Name Gets the name of the 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.
Public method EnableAutoUpdate Enables automatic synchronization between a form's underlying XML document and the associated 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.
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 2010 form to a specified view.

Top

See Also

Reference

View Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace