DataServiceConfiguration.MaxResultsPerCollection 屬性
取得或設定每個傳回之集合中的項目數目上限。
命名空間: System.Data.Services
組件: Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)
語法
'宣告
Public Property MaxResultsPerCollection As Integer
Get
Set
'用途
Dim instance As DataServiceConfiguration
Dim value As Integer
value = instance.MaxResultsPerCollection
instance.MaxResultsPerCollection = value
public int MaxResultsPerCollection { get; set; }
public:
virtual property int MaxResultsPerCollection {
int get () sealed;
void set (int value) sealed;
}
abstract MaxResultsPerCollection : int with get, set
override MaxResultsPerCollection : int with get, set
final function get MaxResultsPerCollection () : int
final function set MaxResultsPerCollection (value : int)
屬性值
型別:System.Int32
項目數目上限。
實作
IDataServiceConfiguration.MaxResultsPerCollection
備註
此最大值也適用於巢狀集合。