View Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public interface class View
[System.Runtime.InteropServices.Guid("096CD55D-0786-11D1-95FA-0080C78EE3BB")]
public interface View
type View = interface
Public Interface View
- Derived
- Attributes
Properties
Name |
Gets the name of the view. |
Window |
Gets a reference to the window associated with the view. |
Methods
DisableAutoUpdate() |
Disables automatic synchronization between a form's underlying XML document and the associated view. |
EnableAutoUpdate() |
Enables automatic synchronization between a form's underlying XML document and the associated view. |
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. |
Export(String, String) |
Exports the view to a file of the specified format. |
ForceUpdate() |
Forces synchronization between a form's underlying XML document and the associated view. |
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. |
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. |
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. |
SelectText(IXMLDOMNode, Object) |
Selects the text contained in an editable field that is bound to the specified XML Document Object Model (DOM) node. |
SwitchView(String) |
Changes the active view of a Microsoft Office InfoPath form to a specified view. |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기