共用方式為


SPViewCollection.SPViewTypeToString method

傳回指定的檢視類型的字串表示。

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

Syntax

'宣告
Public Shared Function SPViewTypeToString ( _
    type As SPViewCollection.SPViewType _
) As String
'用途
Dim type As SPViewCollection.SPViewType
Dim returnValue As String

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

參數

傳回值

Type: System.String
字串,包含檢視型別的表示。

請參閱

參照

SPViewCollection class

SPViewCollection members

Microsoft.SharePoint namespace