ViewInfo2 Members

Include Protected Members
Include Inherited Members

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.

The ViewInfo2 type exposes the following members.

Properties

  Name Description
Public property Caption Gets the value of the caption attribute of the xsf:view element associated with the view in the form definition file (.xsf).
Public property HideName Gets whether the name of the view is set to be hidden on the View menu.
Public property IsDefault Gets or sets a value that indicates whether the view is defined as the default view in a Microsoft InfoPath 2010 form. (Inherited from ViewInfo.)
Public property IsDefault Gets or sets a value that indicates whether the view is defined as the default view in a Microsoft InfoPath 2010 form.
Public property Name Gets the name of the view that is associated with the ViewInfoObject object. (Inherited from ViewInfo.)
Public property Name Gets the name of the view that is associated with the ViewInfoObject object.

Top

See Also

Reference

ViewInfo2 Interface

Microsoft.Office.Interop.InfoPath.SemiTrust Namespace