共用方式為


CompletionSet.GetFilterLevel Method

Gets the current filter level.

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

Syntax

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

returnValue = instance.GetFilterLevel(iFilterLevel)
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: System.Int32%
    [out] Returns the 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.

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

CompletionSet Members

Microsoft.VisualStudio.Package Namespace