Partager via


IVsImmediateStatementCompletion2.GetFilter Method

Definition

public:
 int GetFilter(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pTextView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextViewFilter ^ % ppFilter);
public:
 int GetFilter(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pTextView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextViewFilter ^ &  ppFilter);
int GetFilter(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pTextView, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextViewFilter const & & ppFilter);
public int GetFilter (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pTextView, out Microsoft.VisualStudio.TextManager.Interop.IVsTextViewFilter ppFilter);
abstract member GetFilter : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * IVsTextViewFilter -> int
Public Function GetFilter (pTextView As IVsTextView, ByRef ppFilter As IVsTextViewFilter) As Integer

Parameters

pTextView
IVsTextView

Returns

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

Applies to