MobileServiceCollectionExtensions.ToCollectionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ToCollectionAsync<TTable>(IMobileServiceTable<TTable>, Int32) |
Create a new collection based on the table. |
ToCollectionAsync<TTable>(IMobileServiceTableQuery<TTable>, Int32) |
Create a new collection based on the query. |
ToCollectionAsync<TTable>(IMobileServiceSyncTable<TTable>, Int32) |
Create a new collection based on the local table. |
ToCollectionAsync<TTable>(IMobileServiceTable<TTable>, Int32)
Create a new collection based on the table.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<TTable,TTable>> ToCollectionAsync<TTable> (this Microsoft.WindowsAzure.MobileServices.IMobileServiceTable<TTable> table, int pageSize = 0);
static member ToCollectionAsync : Microsoft.WindowsAzure.MobileServices.IMobileServiceTable<'able> * int -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'able>>
<Extension()>
Public Function ToCollectionAsync(Of TTable) (table As IMobileServiceTable(Of TTable), Optional pageSize As Integer = 0) As Task(Of MobileServiceCollection(Of TTable, TTable))
Type Parameters
- TTable
Parameters
- table
- IMobileServiceTable<TTable>
The table from which to create the new collection.
- pageSize
- Int32
Optional page size.
Returns
The collection.
Applies to
ToCollectionAsync<TTable>(IMobileServiceTableQuery<TTable>, Int32)
Create a new collection based on the query.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<TTable,TTable>> ToCollectionAsync<TTable> (this Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<TTable> query, int pageSize = 0);
static member ToCollectionAsync : Microsoft.WindowsAzure.MobileServices.IMobileServiceTableQuery<'able> * int -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'able>>
<Extension()>
Public Function ToCollectionAsync(Of TTable) (query As IMobileServiceTableQuery(Of TTable), Optional pageSize As Integer = 0) As Task(Of MobileServiceCollection(Of TTable, TTable))
Type Parameters
- TTable
Parameters
- query
- IMobileServiceTableQuery<TTable>
The query to evaluate for data.
- pageSize
- Int32
Optional page size.
Returns
The collection.
Applies to
ToCollectionAsync<TTable>(IMobileServiceSyncTable<TTable>, Int32)
Create a new collection based on the local table.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<TTable,TTable>> ToCollectionAsync<TTable> (this Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<TTable> table, int pageSize = 0);
static member ToCollectionAsync : Microsoft.WindowsAzure.MobileServices.Sync.IMobileServiceSyncTable<'able> * int -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.MobileServices.MobileServiceCollection<'able, 'able>>
<Extension()>
Public Function ToCollectionAsync(Of TTable) (table As IMobileServiceSyncTable(Of TTable), Optional pageSize As Integer = 0) As Task(Of MobileServiceCollection(Of TTable, TTable))
Type Parameters
- TTable
Parameters
- table
- IMobileServiceSyncTable<TTable>
The local table from which to create the new collection.
- pageSize
- Int32
Optional page size.
Returns
The collection.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應