NavigationTerm.GetResolvedTargetUrlWithoutQuery method
Returns a target page address as a server-relative URL that does not include a query string.
Namespace: Microsoft.SharePoint.Client.Publishing.Navigation
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Overridable Function GetResolvedTargetUrlWithoutQuery As ClientResult(Of String)
'Usage
Dim instance As NavigationTerm
Dim returnValue As ClientResult(Of String)
returnValue = instance.GetResolvedTargetUrlWithoutQuery()
public virtual ClientResult<string> GetResolvedTargetUrlWithoutQuery()
Return value
Type: Microsoft.SharePoint.Client.ClientResult<String>
A server-related URL, or an empty string.
Remarks
This method resembles the GetResolvedTargetUrl(String, []) method except that the returned URL does not include the query string, and the CatalogTargetUrl() property is not considered.
If there is no target URL, or if the link type is not a FriendlyUrl, then the return value is an empty string.