ConsoleNode.IsSiteRelative Property

Gets or sets whether to interpret the href 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 href 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