CodeWindowManager::GetFilter Method (IVsTextView^)

 

Returns the ViewFilter object associated with the specified text view.

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

public:
ViewFilter^ GetFilter(
	IVsTextView^ view
)

Parameters

view
Type: Microsoft.VisualStudio.TextManager.Interop::IVsTextView^

[in] The IVsTextView object for which to retrieve the associated ViewFilter object.

Return Value

Type: Microsoft.VisualStudio.Package::ViewFilter^

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).

The base method searches the internal list of view filters to find the one that contains the specified text view.

Return to top
Show: