Click or drag to resize

IAssetManagerAssets(Int32, Int32, Int32) Method


Retrieves the collection of all Assets, in a paginated fashion.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IEnumerable<IAsset> Assets(
	out int count,
	int pageSize = -1,
	int startIndex = -1
)

Parameters

count  Int32
Outputs total count of entries
pageSize  Int32  (Optional)
Number of entries to return. If not provided, returns all entries.
startIndex  Int32  (Optional)
Starting index of entries. If not provided, starts from the first entry.

Return Value

IEnumerableIAsset
Collection of Assets.
Remarks

Assets are returned in the order they were created. This doesn't necessarily mean it will always start with smallest a/ID, especially for content migrated from a previous version.

See Also