語言

ComErrorException.ComHResult 屬性

定義

會取得與此例外相關的錯誤代碼(HRESULT)值。

public:
 property int ComHResult { int get(); };
public int ComHResult { get; }
member this.ComHResult : int
Public ReadOnly Property ComHResult As Integer

屬性值

錯誤代碼(HRESULT)。

適用於