SPWeb.AlternateHeader property

Gets or sets the URL for an alternate .aspx page that will be used to render the top navigation area in SharePoint Foundation pages.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property AlternateHeader As String
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As String

value = instance.AlternateHeader

instance.AlternateHeader = value
public string AlternateHeader { get; set; }

Property value

Type: System.String
A string that contains the URL for the alternate page.

Remarks

The AlternateHeader property applies to pages that are located in the \\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033 directory. This property specifies the URL of the page to execute instead of the standard top navigation area that is usually rendered in these pages.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace