|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
ViewInfo2 Members (Microsoft.Office.Interop.InfoPath)
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, seeViewInfoObject.
The following tables list the members exposed by the ViewInfo2 type.
|Caption||Gets the value of the caption attribute of the xsf:view element associated with the view in the form definition file (.xsf).|
|HideName||Gets whether the name of the view is set to be hidden on the View menu.|
|IsDefault||Gets or sets a value that indicates whether the view is defined as the default view in a Microsoft Office InfoPath 2007 form.|
|Name||Gets the name of the view that is associated with the ViewInfoObject object.|