IHelp.GetHelpFile Method

Gets the name and path of the help file.

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

Syntax

'宣言
Function GetHelpFile ( _
    <OutAttribute> ByRef pbstr As String _
) As Integer
'使用
Dim instance As IHelp
Dim pbstr As String
Dim returnValue As Integer

returnValue = instance.GetHelpFile(pbstr)
int GetHelpFile(
    out string pbstr
)
int GetHelpFile(
    [OutAttribute] String^% pbstr
)
function GetHelpFile(
    pbstr : String
) : int

Parameters

  • pbstr
    Type: System.String%

    [out] String containing the name of the help file.

Return Value

Type: System.Int32

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

Remarks

COM Signature

From objtext.idl:

HRESULT IHelp::GetHelpFile(
   [out] BSTR* pbstr
);

Permissions

See Also

Reference

IHelp Interface

IHelp Members

Microsoft.VisualStudio.Shell.Interop Namespace