Share via


ViewInfo Class (Microsoft.Office.InfoPath)

Contains descriptive information about a view within a form.

Namespace: Microsoft.Office.InfoPath
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)

Syntax

'Declaration
Public MustInherit Class ViewInfo
'Usage
Dim instance As ViewInfo
public abstract class ViewInfo

Remarks

The ViewInfo object provides properties that can be used to get the name of a view and determine whether its name is hidden on the View menu when editing a form. The ViewInfo object is accessible through the ViewInfos property of the XmlForm object, and from the ViewInfo property of a View object.

Note

To work with the view programmatically, use the View object.

Inheritance Hierarchy

System.Object
  Microsoft.Office.InfoPath.ViewInfo

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ViewInfo Members
Microsoft.Office.InfoPath Namespace