IPageCreationRulesManagerPageCreationRules Method (Int32, IUserGroup, Int32, Int32)
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IEnumerable<IPageCreationRule> PageCreationRules(
out int totalCount,
IUserGroup userGroup,
int pageSize = -1,
int startIndex = -1
)
Function PageCreationRules (
<OutAttribute> ByRef totalCount As Integer,
userGroup As IUserGroup,
Optional pageSize As Integer = -1,
Optional startIndex As Integer = -1
) As IEnumerable(Of IPageCreationRule)
IEnumerable<IPageCreationRule^>^ PageCreationRules(
[OutAttribute] int% totalCount,
IUserGroup^ userGroup,
int pageSize = -1,
int startIndex = -1
)
abstract PageCreationRules :
totalCount : int byref *
userGroup : IUserGroup *
?pageSize : int *
?startIndex : int
(* Defaults:
let _pageSize = defaultArg pageSize -1
let _startIndex = defaultArg startIndex -1
*)
-> IEnumerable<IPageCreationRule>
Parameters
- totalCount
- Type: SystemInt32
Outputs total count of entries - userGroup
- Type: Ingeniux.CMSIUserGroup
The group that is allowed by the page creation rules - 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:
IEnumerableIPageCreationRuleCollection of page creation rules that allow the specified Group
Remarks If the userGroup parameter is null, returns all page creation rules
See Also