共用方式為


IVsHelpSystem.DisplayTopicFromIdentifier Method

Definition

Overloads

DisplayTopicFromIdentifier(String, IntPtr, IntPtr)
DisplayTopicFromIdentifier(String, UInt32, UInt32)

Displays a topic based on an identifier.

DisplayTopicFromIdentifier(String, IntPtr, IntPtr)

public:
 int DisplayTopicFromIdentifier(System::String ^ pszFile, IntPtr Id, IntPtr Command);
public int DisplayTopicFromIdentifier (string pszFile, IntPtr Id, IntPtr Command);
abstract member DisplayTopicFromIdentifier : string * nativeint * nativeint -> int
Public Function DisplayTopicFromIdentifier (pszFile As String, Id As IntPtr, Command As IntPtr) As Integer

Parameters

pszFile
String
Id
IntPtr

nativeint

Command
IntPtr

nativeint

Returns

Applies to

DisplayTopicFromIdentifier(String, UInt32, UInt32)

Displays a topic based on an identifier.

public:
 int DisplayTopicFromIdentifier(System::String ^ pszFile, System::UInt32 Id, System::UInt32 Command);
public:
 int DisplayTopicFromIdentifier(Platform::String ^ pszFile, unsigned int Id, unsigned int Command);
int DisplayTopicFromIdentifier(std::wstring const & pszFile, unsigned int Id, unsigned int Command);
public int DisplayTopicFromIdentifier (string pszFile, uint Id, uint Command);
abstract member DisplayTopicFromIdentifier : string * uint32 * uint32 -> int
Public Function DisplayTopicFromIdentifier (pszFile As String, Id As UInteger, Command As UInteger) As Integer

Parameters

pszFile
String

[in] Pointer to a string containing the file name of the Help file.

Id
UInt32

[in] The Help topic identifier.

Command
UInt32

[in] Bit flags specifying Help options. Constructed from values in the VHS_COMMAND enumeration and the HTML Help commands.

Returns

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

Applies to