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
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기