Click or drag to resize
GenericObjectDestroyChildAsyncT Method (AsyncHandle, FuncResponse, T, String, GenericObjectProperties)

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: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public Task<T> DestroyChildAsync<T>(
	AsyncHandle asyncHandle,
	Func<Response, T> onResult,
	string id,
	GenericObjectProperties propForThis
)

Parameters

asyncHandle
Type: Qlik.EngineAsyncHandle
A string handle allowing the user to access request status
onResult
Type: SystemFuncResponse, T
Response handler that is used to change the Response object into an instance of T
id
Type: SystemString
Identifier of the child to remove. This parameter is mandatory.
propForThis
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.

Type Parameters

T

Return Value

Type: TaskT
A task with the destroyed object as result

Return Value

Type: TaskT

Implements

IGenericObjectDestroyChildAsyncT(AsyncHandle, FuncResponse, T, String, GenericObjectProperties)
See Also