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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Property AlternateHeader As String
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As String

value = instance.AlternateHeader

instance.AlternateHeader = value
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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