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: 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.
- dwReserved
Type: System.UInt32
[in] Reserved. Do not use.
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.