Share via


relatedTarget property

Gets the secondary element that is involved in an event.

 

Syntax

HRESULT value = object.get_relatedTarget(IEventTarget** p);

Property values

Type: Object

The related element.

Standards information

Remarks

The related element depends on the type of event: