Share via


SPUtility.GetViewType method

Retrieves one of the calendar parameters from the request context.

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

Syntax

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

returnValue = SPUtility.GetViewType(request)
public static string GetViewType(
    HttpRequest request
)

Parameters

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

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace