Share via


SPViewCollection.SPViewTypeToString method

Returns a string representation of the specified view type.

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

Syntax

'Declaration
Public Shared Function SPViewTypeToString ( _
    type As SPViewCollection.SPViewType _
) As String
'Usage
Dim type As SPViewCollection.SPViewType
Dim returnValue As String

returnValue = SPViewCollection.SPViewTypeToString(type)
public static string SPViewTypeToString(
    SPViewCollection.SPViewType type
)

Parameters

Return value

Type: System.String
A string that contains a representation of the view type.

See also

Reference

SPViewCollection class

SPViewCollection members

Microsoft.SharePoint namespace