SPViewCollection.SPViewTypeToString Method
Returns a string representation of the specified view type.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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
type
Type: Microsoft.SharePoint.SPViewCollection.SPViewTypeAn enumeration value that specifies the type of view.
Return Value
Type: System.String
A string that contains a representation of the view type.