共用方式為


SPList.BaseType property

取得清單的基底類型。

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

Syntax

'宣告
Public ReadOnly Property BaseType As SPBaseType
    Get
'用途
Dim instance As SPList
Dim value As SPBaseType

value = instance.BaseType
public SPBaseType BaseType { get; }

Property value

Type: Microsoft.SharePoint.SPBaseType
指定的基底類型SPBaseType值。

備註

在網站定義的Onet.xml檔案中定義的清單範本的基底類型。

請參閱

參照

SPList class

SPList members

Microsoft.SharePoint namespace