共用方式為


IVsCompletionSetEx.GetFilterLevel Method

Returns the current filter level.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function GetFilterLevel ( _
    <OutAttribute> ByRef iFilterLevel As Integer _
) As Integer
'用途
Dim instance As IVsCompletionSetEx
Dim iFilterLevel As Integer
Dim returnValue As Integer

returnValue = instance.GetFilterLevel(iFilterLevel)
int GetFilterLevel(
    out int iFilterLevel
)
int GetFilterLevel(
    [OutAttribute] int% iFilterLevel
)
abstract GetFilterLevel : 
        iFilterLevel:int byref -> int 
function GetFilterLevel(
    iFilterLevel : int
) : int

Parameters

  • iFilterLevel
    Type: System.Int32%
    [out] Returns the current filter level.

Return Value

Type: System.Int32
If successful, returns S_OK. If there is no filter, returns S_FALSE; otherwise, returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsCompletionSetEx::GetFilterLevel(
   [out] long *iFilterLevel
);

The filter level determines which tab, Common (filter level equals 0) or All (filter level equals 1), is displayed.

.NET Framework Security

See Also

Reference

IVsCompletionSetEx Interface

IVsCompletionSetEx Members

Microsoft.VisualStudio.TextManager.Interop Namespace