다음을 통해 공유


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

'Declaration
Function KeywordSearch ( _
    pszKeyword As String, _
    dwFlags As UInteger, _
    dwReserved As UInteger _
) As Integer
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: String

    [in] Pointer to a string containing the keyword.

  • dwFlags
    Type: UInt32

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

  • dwReserved
    Type: UInt32

    [in] Reserved. Do not use.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace