SPUtility.GetViewType method

Retrieves one of the calendar parameters from the request context.

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

Public Shared Function GetViewType ( _
	request As HttpRequest _
) As String
Dim request As HttpRequest
Dim returnValue As String

returnValue = SPUtility.GetViewType(request)


Type: System.Web.HttpRequest

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