Partager via


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

'Déclaration
Function GetFilterLevel ( _
    <OutAttribute> ByRef iFilterLevel As Integer _
) As Integer
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

Microsoft.VisualStudio.TextManager.Interop Namespace