Click or drag to resize

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
)

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: IEnumerableObject
Returns a collection of resources.
See Also