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)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)> _
Public Shared Function GetSelectedTimeFromSource ( _
request As HttpRequest, _
useSourceParameter As Boolean _
) As String
'Usage
Dim request As HttpRequest
Dim useSourceParameter As Boolean
Dim returnValue As String
returnValue = SPUtility.GetSelectedTimeFromSource(request, _
useSourceParameter)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
public static string GetSelectedTimeFromSource(
HttpRequest request,
bool useSourceParameter
)
Parameters
request
Type: System.Web.HttpRequestAn object that represents the request context.
useSourceParameter
Type: System.Booleantrue to get the parameter from the source page if necessary.
Return Value
Type: System.String
The CalendarTime parameter value from the request context.