SPNavigationSiteMapNode.IsExternal property

Gets a value the indicates 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
true if this node is external; otherwise, false.

Remarks

Corresponds to the IsExternal property, with one difference. By default, internal SPNavigationNode links cannot point to draft SPListItem objects, 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