IAssetManagerAssetsBySchemas Method
|
Retrieves assets created using a specified list of asset schemas.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IEnumerable<IAsset> AssetsBySchemas(
IAssetSchema[] schemas,
out int count,
int pageSize = -1,
int startIndex = -1
)
Function AssetsBySchemas (
schemas As IAssetSchema(),
<OutAttribute> ByRef count As Integer,
Optional pageSize As Integer = -1,
Optional startIndex As Integer = -1
) As IEnumerable(Of IAsset)
IEnumerable<IAsset^>^ AssetsBySchemas(
array<IAssetSchema^>^ schemas,
[OutAttribute] int% count,
int pageSize = -1,
int startIndex = -1
)
abstract AssetsBySchemas :
schemas : IAssetSchema[] *
count : int byref *
?pageSize : int *
?startIndex : int
(* Defaults:
let _pageSize = defaultArg pageSize -1
let _startIndex = defaultArg startIndex -1
*)
-> IEnumerable<IAsset>
Parameters
- schemas
- Type: Ingeniux.CMSIAssetSchema
The collection of Asset Schemas the Assets were created from.
Assets created from any of these Asset Schemas are included. - count
- Type: SystemInt32
Outputs total count of entries - pageSize (Optional)
- Type: SystemInt32
Number of entries to return. If not provided, returns all entries. - startIndex (Optional)
- Type: SystemInt32
Starting index of entries. If not provided, starts from the first entry.
Return Value
Type:
IEnumerableIAssetCollection of
Assets that were created from any of the specified
Asset Schemas.
See Also