共用方式為


IVsUserContextItemProvider.LookupEnabled(Int32) Method

Definition

Determines whether lookup is enabled.

public:
 int LookupEnabled([Runtime::InteropServices::Out] int % pfLookupEnabled);
int LookupEnabled([Runtime::InteropServices::Out] int & pfLookupEnabled);
public int LookupEnabled (out int pfLookupEnabled);
abstract member LookupEnabled : int -> int
Public Function LookupEnabled (ByRef pfLookupEnabled As Integer) As Integer

Parameters

pfLookupEnabled
Int32

[out] True if lookup is enabled, otherwise false.

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::LookupEnabled(  
   [out] BOOL *pfLookupEnabled  
);  

Applies to