ViewInfoObject Interface (Microsoft.Office.Interop.InfoPath)
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
This type is a wrapper for a coclass that is required by managed code for COM interoperability. Use this type to access the members of the COM interface implemented by this coclass. For information about the COM interface, including a link to descriptions of its members, see ViewInfo2.
The ViewInfoObject object provides properties that can be used to get the name of a view and determine whether a view is the default view of the form. The ViewInfoObject object is accessible through the ViewInfos property of the XDocument object.
To work with the view programmatically, use the ViewObject object.