SPAlternateUrl.ContextUri Property (Microsoft.SharePoint.Administration)

Switch View :
ScriptFree
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)
Available in Sandboxed Solutions: No
Syntax

Visual Basic (Declaration)
Public Shared ReadOnly Property ContextUri As Uri
	Get
Visual Basic (Usage)
Dim value As Uri

value = SPAlternateUrl.ContextUri

C#
public static Uri ContextUri { get; }

Property Value

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

Reference