Skip to main content

TcxSchedulerEvent.GetTaskLinkOwnerRelation(TcxSchedulerEvent,TcxSchedulerEventRelation) Method

Checks whether the current task (the successor) and a specified task (the predecessor) are linked, and obtains the link type.

Declaration

function GetTaskLinkOwnerRelation(ATaskLinkOwner: TcxSchedulerEvent; var ARelation: TcxSchedulerEventRelation): Boolean; virtual;

Parameters

Name Type
ATaskLinkOwner TcxSchedulerEvent
ARelation TcxSchedulerEventRelation

Returns

Type
Boolean

Remarks

The GetTaskLinkOwnerRelation method returns True, if two tasks are linked.

ATaskLinkOwner references the predecessor task (which owns the link).

The method writes the resulting task link type to ARelation.

See Also