name Attribute (view Element)

Microsoft Office InfoPath

name Attribute (view Element)

Identifies the view for object model calls when switching views, and for specifying the default view.

Type

      xsf:xdViewName
    

Remarks

The name attribute is a required attribute of the view element.

Example

The following is an example of the name attribute as it is used in the view element:

    <xsf:views default="View">
   <xsf:view name="View" caption="View">
      <xsf:mainpane transform="view1.xsl"></xsf:mainpane>
      ...
   </xsf:view>
</xsf:views>