ViewInfoObject Interface

Definition

Contains descriptive information about a view within a Microsoft Office InfoPath form.

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

Remarks

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, seeViewInfo2.

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.

Note: To work with the view programmatically, use the ViewObject object.

Properties

IsDefault

This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeIsDefault.

(Inherited from ViewInfo)
Name

This member is a wrapper for a member of a COM interface that has been superseded by a later version. The later version of this interface implements all members of earlier interfaces and additional new members. For information about this member as it is implemented in the later interface, including usage, remarks, and examples, seeName.

(Inherited from ViewInfo)

Applies to