Partilhar via


COMError.number Method

Definition

Returns the error code of the error that occurred when the COM object was called.

public:
 virtual int number();
public virtual int number ();
abstract member number : unit -> int
override this.number : unit -> int
Public Overridable Function number () As Integer

Returns

The error code; 0 (zero) if no error occurred when the COM object was called.

Remarks

The number property is read-only.

Applies to