共用方式為


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

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