Share via


IVsUserContextItemProvider.KeywordLookup Method

Definition

Looks up the specified keyword.

public:
 int KeywordLookup(System::String ^ pwzTargetAttr, System::String ^ pwzTargetAttrValue, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContextItemCollection ^ % pplist, Microsoft::VisualStudio::Shell::Interop::IVsMonitorUserContext ^ pCMUC, int fCheckIdle, int fContinueInterrupt);
public:
 int KeywordLookup(Platform::String ^ pwzTargetAttr, Platform::String ^ pwzTargetAttrValue, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContextItemCollection ^ &  pplist, Microsoft::VisualStudio::Shell::Interop::IVsMonitorUserContext ^ pCMUC, int fCheckIdle, int fContinueInterrupt);
int KeywordLookup(std::wstring const & pwzTargetAttr, std::wstring const & pwzTargetAttrValue, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsUserContextItemCollection const & & pplist, Microsoft::VisualStudio::Shell::Interop::IVsMonitorUserContext const & pCMUC, int fCheckIdle, int fContinueInterrupt);
public int KeywordLookup (string pwzTargetAttr, string pwzTargetAttrValue, out Microsoft.VisualStudio.Shell.Interop.IVsUserContextItemCollection pplist, Microsoft.VisualStudio.Shell.Interop.IVsMonitorUserContext pCMUC, int fCheckIdle, int fContinueInterrupt);
abstract member KeywordLookup : string * string * IVsUserContextItemCollection * Microsoft.VisualStudio.Shell.Interop.IVsMonitorUserContext * int * int -> int
Public Function KeywordLookup (pwzTargetAttr As String, pwzTargetAttrValue As String, ByRef pplist As IVsUserContextItemCollection, pCMUC As IVsMonitorUserContext, fCheckIdle As Integer, fContinueInterrupt As Integer) As Integer

Parameters

pwzTargetAttr
String

[in]

pwzTargetAttrValue
String

[in]

fCheckIdle
Int32

[in]

fContinueInterrupt
Int32

[in]

Returns

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

Remarks

COM Signature

From context.idl:

HRESULT IVsUserContextItemProvider::KeywordLookup(  
   [in] LPCOLESTR pwzTargetAttr,   
   [in] LPCOLESTR pwzTargetAttrValue,   
   [out] IVsUserContextItemCollection ** ppList,   
   [in] IVsMonitorUserContext* pCMUC,   
   [in] BOOL fCheckIdle,   
   [in] BOOL fContinueInterrupt  
);  

Applies to