SPUrlUtility.IsUrlFull Method
Gets a Boolean value indicating whether the specified URL is a full URL and not a relative URL.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function IsUrlFull ( _
url As String _
) As Boolean
'Usage
Dim url As String
Dim returnValue As Boolean
returnValue = SPUrlUtility.IsUrlFull(url)
public static bool IsUrlFull(
string url
)
Parameters
url
Type: System.StringA string that contains the URL.
Return Value
Type: System.Boolean
true if the URL is a full URL; otherwise, false.