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
'Declaration
Function DisplayTopicFromIdentifier ( _
pszFile As String, _
Id As UInteger, _
Command As UInteger _
) As Integer
'Usage
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
)
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.
Id
Type: System.UInt32[in] The Help topic identifier.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.