CodeWindowManager.GetFilter(IVsTextView) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the ViewFilter for the given view or null if no matching filter is found.
public:
Microsoft::VisualStudio::Package::ViewFilter ^ GetFilter(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view);
public Microsoft.VisualStudio.Package.ViewFilter GetFilter (Microsoft.VisualStudio.TextManager.Interop.IVsTextView view);
member this.GetFilter : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> Microsoft.VisualStudio.Package.ViewFilter
Public Function GetFilter (view As IVsTextView) As ViewFilter
Parameters
- view
- IVsTextView
[in] The IVsTextView object for which to retrieve the associated ViewFilter object.
Returns
If successful, returns a ViewFilter object; otherwise, returns a null value (the specified text view does not have a view filter in this language service).
Remarks
The base method searches the internal list of view filters to find the one that contains the specified text view.