Konten ini tidak tersedia dalam bahasa Anda dan berikut adalah versi bahasa Inggris.

ViewInfo class

Office 2013 and later

Contains descriptive information about a view within a form.


Namespace:  Microsoft.Office.InfoPath
Assembly:  Microsoft.Office.InfoPath (in Microsoft.Office.InfoPath.dll)

public abstract class ViewInfo

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.


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

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