[This is preliminary documentation and is subject to change.]

Gets the referrer Uri or a default string

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static string GetReferrerAbsoluteUrl(
	HttpRequest hr,
	string defaultUri
)
Visual Basic (Declaration)
Public Shared Function GetReferrerAbsoluteUrl ( _
	hr As HttpRequest, _
	defaultUri As String _
) As String
Visual C++
public:
static String^ GetReferrerAbsoluteUrl(
	HttpRequest^ hr, 
	String^ defaultUri
)

Parameters

hr
Type: System.Web..::.HttpRequest
The http request parameter of the page
defaultUri
Type: System..::.String
The default uri used in case uri is not found

Return Value

returns the referrer url if successful, default uri if failed

See Also