Share via


SPListDataSource class

提供外部清單的相關資訊。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPListDataSource

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

Syntax

'宣告
Public NotInheritable Class SPListDataSource
'用途
Dim instance As SPListDataSource
public sealed class SPListDataSource

備註

這個類別做為SPList和外部的清單之間的橋樑。您可以使用相關聯的SPList來擷取實體欄位和資料。

從 [ HasExternalDataSource ] 屬性中擷取SPListDataSource執行的個體。HasExternalDataSource不是 null, SPList物件的資料時, Microsoft SharePoint Foundation的外部。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPListDataSource members

Microsoft.SharePoint namespace