ISiteAssetsAssignedToGroup Method
|
Retrieves a collection of
Assets assigned to a specific
Group, in a paginated fashion.
Namespace: Ingeniux.CMSAssembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
SyntaxIEnumerable<IAsset> AssetsAssignedToGroup(
IUserGroup group,
out int count,
int pageSize = -1,
int startIndex = -1
)
Function AssetsAssignedToGroup (
group As IUserGroup,
<OutAttribute> ByRef count As Integer,
Optional pageSize As Integer = -1,
Optional startIndex As Integer = -1
) As IEnumerable(Of IAsset)
IEnumerable<IAsset^>^ AssetsAssignedToGroup(
IUserGroup^ group,
[OutAttribute] int% count,
int pageSize = -1,
int startIndex = -1
)
abstract AssetsAssignedToGroup :
group : IUserGroup *
count : int byref *
?pageSize : int *
?startIndex : int
(* Defaults:
let _pageSize = defaultArg pageSize -1
let _startIndex = defaultArg startIndex -1
*)
-> IEnumerable<IAsset> Parameters
- group IUserGroup
- The Group that Pages are assigned to
- 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
IEnumerableIAssetCollection of
Assets assigned to the specified
Group
Remarks
When the "group" parameter value is null, returns empty collection, with "count" parameter output 0.
See Also