SPWeb.AlternateHeader 属性

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

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Property AlternateHeader As String
    Get
    Set
用法
Dim instance As SPWeb
Dim value As String

value = instance.AlternateHeader

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

属性值

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

备注

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.

另请参阅

引用

SPWeb 类

SPWeb 成员

Microsoft.SharePoint 命名空间