GetSelectedTimeFromSource method
TOC
Collapse the table of content
Expand the table of content

SPUtility.GetSelectedTimeFromSource method

Retrieves the CalendarTime parameter value from the request context, optionally using the source page if necessary.

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

public static string GetSelectedTimeFromSource(
	HttpRequest request,
	bool useSourceParameter
)

Parameters

request
Type: System.Web.HttpRequest

An object that represents the request context.

useSourceParameter
Type: System.Boolean

true to get the parameter from the source page if necessary.

Return value

Type: System.String
The CalendarTime parameter value from the request context.
Show:
© 2016 Microsoft