ApplicationContext.GetRequestUrl Method

Gets the request URL using the ViaUrl property, if it is available.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll)

Syntax

'Declaration
Public Function GetRequestUrl ( _
    url As String _
) As String
'Usage
Dim instance As ApplicationContext
Dim url As String
Dim returnValue As String

returnValue = instance.GetRequestUrl(url)
public string GetRequestUrl(
    string url
)

Parameters

Return Value

Type: System.String
The URL of the request.

Remarks

If the via URL is not null, the request URL is converted into the “ViaUrl=requestUrl” format; otherwise, the request URL is returned.

See Also

Reference

ApplicationContext Class

ApplicationContext Members

Microsoft.SharePoint.Client Namespace