Share via


COMError.helpContext Method

Definition

Returns the Help context ID for the error that occurred when the COM object was called.

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

Returns

The Help context ID.

Remarks

The Help context ID might be 0 (zero) if the COM object does not support Help for its errors. The helpContext property is read-only.

Applies to