Get news categories for current application in specified language.
Namespace: MonoSoftware.MonoX.BusinessLayerAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
EntityCollection<NewsCategoryEntity> GetCategories(
out Context activeContext,
bool onlyPublished,
Nullable<bool> editPermissionsRequired,
Nullable<bool> viewPermissionsRequired
) |
Visual Basic |
---|
Function GetCategories (
<OutAttribute> ByRef activeContext As Context,
onlyPublished As Boolean,
editPermissionsRequired As Nullable(Of Boolean),
viewPermissionsRequired As Nullable(Of Boolean)
) As EntityCollection(Of NewsCategoryEntity) |
Visual C++ |
---|
EntityCollection<NewsCategoryEntity^>^ GetCategories(
[OutAttribute] Context^% activeContext,
bool onlyPublished,
Nullable<bool> editPermissionsRequired,
Nullable<bool> viewPermissionsRequired
) |
F# |
---|
abstract GetCategories :
activeContext : Context byref *
onlyPublished : bool *
editPermissionsRequired : Nullable<bool> *
viewPermissionsRequired : Nullable<bool> -> EntityCollection<NewsCategoryEntity>
|
Parameters
- activeContext
- Type: Context%
Active context which will ensure that there is only one copy of each fetched object
- onlyPublished
- Type: System..::..Boolean
Get only published categories
- editPermissionsRequired
- Type: System..::..Nullable<(Of <(<'Boolean>)>)>
Specify if edit permissions are required
- viewPermissionsRequired
- Type: System..::..Nullable<(Of <(<'Boolean>)>)>
Specify if view permissions are required
Return Value
Type:
EntityCollection<(Of <(<'NewsCategoryEntity>)>)>News categories collection
See Also