Compartilhar via


onselectionchange property

Sets or gets a pointer to the event handler function associated with the HTMLDocumentEvents2::onselectionchange event.

Syntax

HRESULT value = object.put_onselectionchange(VARIANT v);HRESULT value = object.get_onselectionchange(VARIANT* p);

Property values

Type: VARIANT

A pointer to a VARIANT of type VT_DISPATCH that receives an IDispatch interface pointer that represents an event handler function.