共用方式為


IErrorInfo.GetHelpContext(UInt32) Method

Definition

Retrieves the Help context for the error.

public:
 int GetHelpContext([Runtime::InteropServices::Out] System::UInt32 % pdwHelpContext);
int GetHelpContext([Runtime::InteropServices::Out] unsigned int & pdwHelpContext);
public int GetHelpContext (out uint pdwHelpContext);
abstract member GetHelpContext : uint32 -> int
Public Function GetHelpContext (ByRef pdwHelpContext As UInteger) As Integer

Parameters

pdwHelpContext
UInt32

[out] Pointer to the Help context ID.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to