IOutliningManagerService.GetOutliningManager Method (ITextView)

 

Gets an IOutliningManager for the given view.

Namespace:   Microsoft.VisualStudio.Text.Outlining
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

IOutliningManager GetOutliningManager(
	ITextView textView
)

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.

Return to top
Show: