| IApiResourceHandlerQuery Method (NameValueCollection, Int32, Int32, Int32) |
Queries for a resource.
Namespace:
SanteDB.Rest.Common
Assembly:
SanteDB.Rest.Common (in SanteDB.Rest.Common.dll) Version: 2.2.1
Syntax IEnumerable<Object> Query(
NameValueCollection queryParameters,
int offset,
int count,
out int totalCount
)
Function Query (
queryParameters As NameValueCollection,
offset As Integer,
count As Integer,
<OutAttribute> ByRef totalCount As Integer
) As IEnumerable(Of Object)
IEnumerable<Object^>^ Query(
NameValueCollection^ queryParameters,
int offset,
int count,
[OutAttribute] int% totalCount
)
abstract Query :
queryParameters : NameValueCollection *
offset : int *
count : int *
totalCount : int byref -> IEnumerable<Object>
Parameters
- queryParameters
- Type: SanteDB.Core.Model.QueryNameValueCollection
The query parameters of the resource. - offset
- Type: SystemInt32
The offset of the query. - count
- Type: SystemInt32
The count of the query. - totalCount
- Type: SystemInt32
The total count of the results.
Return Value
Type:
IEnumerableObjectReturns a collection of resources.
See Also