Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves one of the calendar parameters from the request context.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)> _
Public Shared Function GetViewType ( _
request As HttpRequest _
) As String
'Usage
Dim request As HttpRequest
Dim returnValue As String
returnValue = SPUtility.GetViewType(request)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
public static string GetViewType(
HttpRequest request
)
Parameters
request
Type: System.Web.HttpRequestThe HttpRequest object that contains the HTTP values that were sent by a client during a Web request.
Return Value
Type: System.String
An SPWeb object that represents a SharePoint Web site.