Partilhar via


NavBarPage Element (Module)

Applies to: SharePoint Foundation 2010

Provides information about the file specified as the home page in a module so that other pages can be linked to the page.

<NavBarPage
  ID = "Integer"
  Name = "Text"
  Position = "Text">
</NavBarPage>

Attributes

Attribute

Description

ID

Required Integer. Specifies the ID for the page.

Name

Required Text. Specifies the text that appears in the navigation area of other pages that link to the page.

Position

Optional Text. Specifies the position of the UI element represented by the NavBarPage element with respect to the top navigational area on a page. Possible values include the following:

  • Start — add the node at the start (left/top in English) of the top navigational area.

  • End — add the node to the end (right/bottom in English) of the top navigational area. Default.

  • Number between 1001 and 2000 — add the node after (right/below in English) another NavBarPage element whose ID matches the specified value.

Child Elements

None

Parent Elements

File

Occurrences

Minimum: 0

Maximum: 1

See Also

Concepts

Module

Modules

How to: Provision a File