共用方式為


SPView.Type property

取得檢視的型別。

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

Syntax

'宣告
Public ReadOnly Property Type As String
    Get
'用途
Dim instance As SPView
Dim value As String

value = instance.Type
public string Type { get; }

Property value

Type: System.String
字串,指定為SPViewCollection.SPViewType的值。

請參閱

參照

SPView class

SPView members

Microsoft.SharePoint namespace