共用方式為


SPList.DefaultView property

取得清單的預設檢視。

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

Syntax

'宣告
Public ReadOnly Property DefaultView As SPView
    Get
'用途
Dim instance As SPList
Dim value As SPView

value = instance.DefaultView
public SPView DefaultView { get; }

Property value

Type: Microsoft.SharePoint.SPView
SPView 物件,表示預設檢視。

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace