Condividi tramite


CompletionSet.GetFilterLevel Method

Gets the current filter level.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)

Syntax

'Declaration
Public Overridable Function GetFilterLevel ( _
    <OutAttribute> ByRef iFilterLevel As Integer _
) As Integer
public virtual int GetFilterLevel(
    out int iFilterLevel
)
public:
virtual int GetFilterLevel(
    [OutAttribute] int% iFilterLevel
)
abstract GetFilterLevel : 
        iFilterLevel:int byref -> int  
override GetFilterLevel : 
        iFilterLevel:int byref -> int
public function GetFilterLevel(
    iFilterLevel : int
) : int

Parameters

  • iFilterLevel
    Type: Int32%

    [out] Returns the filter level.

Return Value

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

Implements

IVsCompletionSetEx.GetFilterLevel(Int32%)

Remarks

This method is the implementation of the GetFilterLevel method of the IVsCompletionSetEx interface.

This method is not implemented and returns iFilterLevel as 0, and returns [F:Microsoft.VisualStudio.NativeMethods.E_NOTIMPL.]

.NET Framework Security

See Also

Reference

CompletionSet Class

Microsoft.VisualStudio.Package Namespace