共用方式為


List.DataSource 屬性

取得資料來源] 清單中或相關null 參考 (未執行任何動作 於 Visual Basic 中)如果清單並不是虛擬的清單。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public ReadOnly Property DataSource As ListDataSource
    Get
'用途
Dim instance As List
Dim value As ListDataSource

value = instance.DataSource
public ListDataSource DataSource { get; }

屬性值

類型:Microsoft.SharePoint.Client.ListDataSource
代表資料來源的ListDataSource物件。

備註

如果 HasExternalDataSource false,伺服器必須傳回null 參考 (未執行任何動作 於 Visual Basic 中)。

請參閱

參照

List 類別

List 成員

Microsoft.SharePoint.Client 命名空間