Retrieves the collection of Page Creation Rules that are based on the specified Schema.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
IEnumerable<IPageCreationRule> PageCreationRules( out int totalCount, ISchema schema, int pageSize = -1, int startIndex = -1 )
Parameters
- totalCount
- Type: SystemInt32
Outputs total count of entries - schema
- Type: Ingeniux.CMSISchema
The schema on which to filter - 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 based on the specified schema
Remarks
If the schema parameter is null, returns all page creation rules
See Also