Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetViewType method
Collapse the table of content
Expand the table of content

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.
© 2015 Microsoft