Share via


SPNavigationSiteMapNode.IsExternal Property

Determines whether or not this node represents an "external" SPNavigationNode.

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

Syntax

'Declaration
Public ReadOnly Property IsExternal As Boolean
    Get
'Usage
Dim instance As SPNavigationSiteMapNode
Dim value As Boolean

value = instance.IsExternal
public bool IsExternal { get; }

Property Value

Type: System.Boolean
Boolean value that represents whether or not this node is external.

Remarks

Corresponds to the IsExternal property, with one difference. By default, internal SPNavigationNode links cannot point to draft SPListItems, but this navigation system performs a special link "fix" on links of this type so that they behave in the same way as internal links. As a result, this property will return false for nodes of this type, even though the actual SPNavigationNode would have returned true for this property. IsExternalSPNavigationNode class returns the same value as the value that is stored by this property.

See Also

Reference

SPNavigationSiteMapNode Class

SPNavigationSiteMapNode Members

Microsoft.SharePoint.Publishing.Navigation Namespace