다음을 통해 공유


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

  • 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.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace