IOutliningManagerService::GetOutliningManager Method (ITextView^)
Visual Studio 2015
Gets an IOutliningManager for the given view.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Parameters
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::ITextView^
The ITextView from which to get the outlining manager.
Return Value
Type: Microsoft.VisualStudio.Text.Outlining::IOutliningManager^A valid outlining manager if the view model supports outlining, otherwise null.
| Exception | Condition |
|---|---|
| ArgumentNullException | textView is null. |
The outlining manager is available only for views that have the Structured role.
Show: