Compartir a través de


IErrorInfo.GetHelpContext Method

Retrieves the Help context for the error.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaración
Function GetHelpContext ( _
    <OutAttribute> ByRef pdwHelpContext As UInteger _
) As Integer
'Uso
Dim instance As IErrorInfo
Dim pdwHelpContext As UInteger
Dim returnValue As Integer

returnValue = instance.GetHelpContext(pdwHelpContext)
int GetHelpContext(
    out uint pdwHelpContext
)
int GetHelpContext(
    [OutAttribute] unsigned int% pdwHelpContext
)
abstract GetHelpContext : 
        pdwHelpContext:uint32 byref -> int 
function GetHelpContext(
    pdwHelpContext : uint
) : int

Parameters

  • pdwHelpContext
    Type: System.UInt32%
    [out] Pointer to the Help context ID.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IErrorInfo Interface

IErrorInfo Members

Microsoft.VisualStudio.Shell.Interop Namespace