Edit

Share via


ViewInfo2 Interface

Definition

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.

public interface class ViewInfo2 : Microsoft::Office::Interop::InfoPath::ViewInfo
[System.Runtime.InteropServices.Guid("096CD5FB-0786-11D1-95FA-0080C78EE3BB")]
public interface ViewInfo2 : Microsoft.Office.Interop.InfoPath.ViewInfo
type ViewInfo2 = interface
    interface ViewInfo
Public Interface ViewInfo2
Implements ViewInfo
Derived
Attributes
Implements

Properties

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 InfoPath form.

Name

Gets the name of the view that is associated with the ViewInfoObject object.

Applies to