Click or drag to resize
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.Engine
Assembly: 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
)

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: TaskT
See Also