CompletionSet.DecreaseFilterLevel Method

Changes the level of the internal filter list and updates it, showing common items.

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

Syntax

'宣言
Public Overridable Function DecreaseFilterLevel ( _
    iSelectedItem As Integer _
) As Integer
'使用
Dim instance As CompletionSet
Dim iSelectedItem As Integer
Dim returnValue As Integer

returnValue = instance.DecreaseFilterLevel(iSelectedItem)
public virtual int DecreaseFilterLevel(
    int iSelectedItem
)
public:
virtual int DecreaseFilterLevel(
    int iSelectedItem
)
public function DecreaseFilterLevel(
    iSelectedItem : int
) : int

Parameters

  • iSelectedItem
    Type: System.Int32

    The index of the item that is currently selected.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsCompletionSetEx.DecreaseFilterLevel(Int32)

Remarks

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

By default this method is not implemented and returns E_NOTIMPL().

Permissions

See Also

Reference

CompletionSet Class

CompletionSet Members

Microsoft.VisualStudio.Package Namespace