ServicePRO SDK Help

ObjectDesignerManager..::..GetObjectTypes Method

Gets the collection of object types.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void GetObjectTypes(
	string userSessionKey,
	int ObjectId,
	Action<ObservableCollection<Dictionary<string, Object>>, Exception> callbackAction
)
Public Sub GetObjectTypes ( _
	userSessionKey As String, _
	ObjectId As Integer, _
	callbackAction As Action(Of ObservableCollection(Of Dictionary(Of String, Object)), Exception) _
)

Parameters

userSessionKey
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.
ObjectId
Type: Int32
The object identifier.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>, Exception>)>)>
The callback action.