IGenericObjectDestroyChildAsyncT Method (String, GenericObjectProperties, FuncResponse, T, AsyncHandle) |
Removes a child object.
It is possible to update the properties of the child's parent at the same time that the child is removed. Both operations are performed by the same call.Removing a linked object, invalidate the linking object.
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax Task<T> DestroyChildAsync<T>(
string id,
GenericObjectProperties propForThis = null,
Func<Response, T> onResult,
AsyncHandle asyncHandle = null
)
Function DestroyChildAsync(Of T) (
id As String,
Optional propForThis As GenericObjectProperties = Nothing,
onResult As Func(Of Response, T),
Optional asyncHandle As AsyncHandle = Nothing
) As Task(Of T)
Parameters
- id
- Type: SystemString
Identifier of the child to remove
This parameter is mandatory. - propForThis (Optional)
- Type: Qlik.EngineGenericObjectProperties
This parameter is optional.
Identifier of the parent's object and property to update.
Should be set to update the properties of the parent's object at the same time the child is created. - onResult
- Type: SystemFuncResponse, T
Continuation function - asyncHandle (Optional)
- Type: Qlik.EngineAsyncHandle
Handle to asyncronous method request
Type Parameters
- T
Return Value
Type:
TaskTSee Also