Share via


ConsoleNode.IsSiteRelative property

Gets or sets whether to interpret the NavigateUrl property as relative to the current SPWeb object.

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

Syntax

'Declaration
Public Property IsSiteRelative As Boolean
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As Boolean

value = instance.IsSiteRelative

instance.IsSiteRelative = value
public bool IsSiteRelative { get; set; }

Property value

Type: System.Boolean
A Boolean value indicating whether the NavigateUrl property should be interpreted as relative to the current SPWeb.

Remarks

A typical use for this property is when Console XML references static URLs to pages in the _layouts directory.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace