SPAlternateUrl.ContextUri property

Gets the appropriate response URL, also known as outgoing URL, for the context of the current request URL.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared ReadOnly Property ContextUri As Uri
    Get
'Usage
Dim value As Uri

value = SPAlternateUrl.ContextUri
public static Uri ContextUri { get; }

Property value

Type: System.Uri
A System.Uri object that represents the response, or outgoing, URL.

See also

Reference

SPAlternateUrl class

SPAlternateUrl members

Microsoft.SharePoint.Administration namespace