ManageObjectsServicesManager..::..GetCategorys Method
Gets the collection of category.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetCategorys( string sessionKey, clsEnumeration..::..CategoryView hsCategoryView, int categoryId, clsEnumeration..::..hsSelectCategory hsPageMode, int srTypeId, Action<ObservableCollection<HierarchyItem>, Exception> callbackAction )
Public Sub GetCategorys ( _ sessionKey As String, _ hsCategoryView As clsEnumeration..::..CategoryView, _ categoryId As Integer, _ hsPageMode As clsEnumeration..::..hsSelectCategory, _ srTypeId As Integer, _ callbackAction As Action(Of ObservableCollection(Of HierarchyItem), Exception) _ )
Parameters
- sessionKey
- Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
- hsCategoryView
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..CategoryView
The category view type.
- categoryId
- Type: Int32
The category identifier.
- hsPageMode
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsSelectCategory
The page mode.
- srTypeId
- Type: Int32
The type identifier.
- callbackAction
- Type: Action<(Of <(<'ObservableCollection<(Of <(<'HierarchyItem>)>)>, Exception>)>)>
The callback action.