SPLink.IsInternal property
Gets a Boolean value that indicates whether the link goes to or from a page within the current Web site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property IsInternal As Boolean
Get
'Usage
Dim instance As SPLink
Dim value As Boolean
value = instance.IsInternal
public bool IsInternal { get; }
Property value
Type: System.Boolean
true if the link is internal to the Web site; otherwise, false.
Remarks
Links to or from pages outside the current Web site are external.
You can differentiate between external links within the server and external links outside the server by using the ServerRelativeUrl property. Only links within the server have a non-NULL, server-relative URL.