SPNavigationNode.Url Property

Gets or sets the URL stored with the navigation node.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.RelativeOrAbsoluteUrl)> _
<ClientCallableAttribute> _
Public Property Url As String
    Get
    Set
'Usage
Dim instance As SPNavigationNode
Dim value As String

value = instance.Url

instance.Url = value
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.RelativeOrAbsoluteUrl)]
[ClientCallableAttribute]
public string Url { get; set; }

Property Value

Type: System.String
Returns a string representation of the navigation node URL.

See Also

Reference

SPNavigationNode Class

SPNavigationNode Members

Microsoft.SharePoint.Navigation Namespace