reason property

Sets or retrieves the result of the data transfer for a data source object.

Syntax

HRESULT value = object.put_reason( v);HRESULT value = object.get_reason(* p);

Property values

Type: long

0

Data transmitted successfully.

1

Data transfer aborted.

2

Data transferred in error.

Remarks

The IHTMLEventObj2::reason property specifies the state of completion of the data transfer.