System.Win.ComObj.EOleSysError.ErrorCode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ErrorCode: HRESULT read FErrorCode write FErrorCode;

C++

__property HRESULT ErrorCode = {read=FErrorCode, write=FErrorCode, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj EOleSysError

Description

The status code returned by the failed method call, indicating the reason for the failure.

ErrorCode is the numerical error code returned by a failed call to an OLE automation object's method or property.

ErrorCode is initialized in the constructor.

See Also