共用方式為


IVsHelpSystem.DisplayTopicFromIdentifier Method

Displays a topic based on an identifier.

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

Syntax

'宣告
Function DisplayTopicFromIdentifier ( _
    pszFile As String, _
    Id As UInteger, _
    Command As UInteger _
) As Integer
'用途
Dim instance As IVsHelpSystem
Dim pszFile As String
Dim Id As UInteger
Dim Command As UInteger
Dim returnValue As Integer

returnValue = instance.DisplayTopicFromIdentifier(pszFile, _
    Id, Command)
int DisplayTopicFromIdentifier(
    string pszFile,
    uint Id,
    uint Command
)
int DisplayTopicFromIdentifier(
    [InAttribute] String^ pszFile, 
    [InAttribute] unsigned int Id, 
    [InAttribute] unsigned int Command
)
abstract DisplayTopicFromIdentifier : 
        pszFile:string * 
        Id:uint32 * 
        Command:uint32 -> int 
function DisplayTopicFromIdentifier(
    pszFile : String, 
    Id : uint, 
    Command : uint
) : int

Parameters

  • pszFile
    Type: System.String
    [in] Pointer to a string containing the file name of the Help file.
  • Command
    Type: System.UInt32
    [in] Bit flags specifying Help options. Constructed from values in the VHS_COMMAND enumeration and the HTML Help commands. For more informations, see About Commands.

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

IVsHelpSystem Interface

IVsHelpSystem Members

Microsoft.VisualStudio.Shell.Interop Namespace