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