Compartir a través de


IVsUserContextItemProvider.KeywordLookup Method

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

Syntax

'Declaration
Function KeywordLookup ( _
    pwzTargetAttr As String, _
    pwzTargetAttrValue As String, _
    <OutAttribute> ByRef pplist As IVsUserContextItemCollection, _
    pCMUC As IVsMonitorUserContext, _
    fCheckIdle As Integer, _
    fContinueInterrupt As Integer _
) As Integer
int KeywordLookup(
    string pwzTargetAttr,
    string pwzTargetAttrValue,
    out IVsUserContextItemCollection pplist,
    IVsMonitorUserContext pCMUC,
    int fCheckIdle,
    int fContinueInterrupt
)
int KeywordLookup(
    [InAttribute] String^ pwzTargetAttr, 
    [InAttribute] String^ pwzTargetAttrValue, 
    [OutAttribute] IVsUserContextItemCollection^% pplist, 
    [InAttribute] IVsMonitorUserContext^ pCMUC, 
    [InAttribute] int fCheckIdle, 
    [InAttribute] int fContinueInterrupt
)
abstract KeywordLookup : 
        pwzTargetAttr:string * 
        pwzTargetAttrValue:string * 
        pplist:IVsUserContextItemCollection byref * 
        pCMUC:IVsMonitorUserContext * 
        fCheckIdle:int * 
        fContinueInterrupt:int -> int
function KeywordLookup(
    pwzTargetAttr : String, 
    pwzTargetAttrValue : String, 
    pplist : IVsUserContextItemCollection, 
    pCMUC : IVsMonitorUserContext, 
    fCheckIdle : int, 
    fContinueInterrupt : int
) : int

Parameters

  • pwzTargetAttr
    Type: String

    [in]

  • pwzTargetAttrValue
    Type: String

    [in]

  • fCheckIdle
    Type: Int32

    [in]

  • fContinueInterrupt
    Type: Int32

    [in]

Return Value

Type: Int32
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
);

.NET Framework Security

See Also

Reference

IVsUserContextItemProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace