共用方式為


code property

Sets or retrieves a number indicating the type of exception that occurred.

 

Syntax

HRESULT value = object.put_code( v);HRESULT value = object.get_code(* p);

Property values

Type: long

The exception code. See DOM Exception Error Codes.

Standards information

See also

IRangeException::message