View2 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 following tables list the members exposed by the View2 type.
Public Properties
Name | Description | |
---|---|---|
Name | Gets the name of the view. This property is not CLS-compliant. | |
Window | Gets a reference to the window associated with the view. This property is not CLS-compliant. |
Top
Public Methods
Name | Description | |
---|---|---|
DisableAutoUpdate | Disables automatic synchronization between a form's underlying XML document and the associated view. This method is not CLS-compliant. | |
EnableAutoUpdate | Enables automatic synchronization between a form's underlying XML document and the associated view. This method is not CLS-compliant. | |
ExecuteAction | Executes a Microsoft Office InfoPath 2007 editing command against a form's underlying XML document, based on the data selected in the view. This method is not CLS-compliant. | |
Export | Exports the view to a file of the specified format. This method is not CLS-compliant. | |
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. This method is not CLS-compliant. | |
ForceUpdate | Forces synchronization between a form's underlying XML document and the associated view. This method is not CLS-compliant. | |
GetContextNodes | Gets a reference to an XMLNodesCollection collection that is populated with XML Document Object Model (DOM) nodes based on the current context. This method is not CLS-compliant. | |
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. This method is not CLS-compliant. | |
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. This method is not CLS-compliant. | |
SelectText | Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node. This method is not CLS-compliant. | |
SwitchView | Changes the active view of a Microsoft Office InfoPath 2007 form to a specified view. This method is not CLS-compliant. |
Top
See Also
Reference
View2 Interface
Microsoft.Office.Interop.InfoPath.SemiTrust Namespace