Partager via


IVsHelpSystem.KeywordSearch Method

Performs an F1 search based on a keyword, flags, and context.

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

Syntax

'Déclaration
Function KeywordSearch ( _
    pszKeyword As String, _
    dwFlags As UInteger, _
    dwReserved As UInteger _
) As Integer
'Utilisation
Dim instance As IVsHelpSystem
Dim pszKeyword As String
Dim dwFlags As UInteger
Dim dwReserved As UInteger
Dim returnValue As Integer

returnValue = instance.KeywordSearch(pszKeyword, _
    dwFlags, dwReserved)
int KeywordSearch(
    string pszKeyword,
    uint dwFlags,
    uint dwReserved
)
int KeywordSearch(
    [InAttribute] String^ pszKeyword, 
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] unsigned int dwReserved
)
abstract KeywordSearch : 
        pszKeyword:string * 
        dwFlags:uint32 * 
        dwReserved:uint32 -> int 
function KeywordSearch(
    pszKeyword : String, 
    dwFlags : uint, 
    dwReserved : uint
) : int

Parameters

  • pszKeyword
    Type: System.String
    [in] Pointer to a string containing the keyword.
  • dwFlags
    Type: System.UInt32
    [in] Bit flags specifying Help options. Constructed from values in the VHS_COMMAND enumeration and the HTML Help 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