다음을 통해 공유


IOutliningManagerService.GetOutliningManager Method

Gets an IOutliningManager for the given view.

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

Syntax

'Declaration
Function GetOutliningManager ( _
    textView As ITextView _
) As IOutliningManager
IOutliningManager GetOutliningManager(
    ITextView textView
)
IOutliningManager^ GetOutliningManager(
    ITextView^ textView
)
abstract GetOutliningManager : 
        textView:ITextView -> IOutliningManager
function GetOutliningManager(
    textView : ITextView
) : IOutliningManager

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Outlining.IOutliningManager
A valid outlining manager if the view model supports outlining, otherwise null.

Exceptions

Exception Condition
ArgumentNullException

textView is nulla null reference (Nothing in Visual Basic).

Remarks

The outlining manager is available only for views that have the Structured role.

.NET Framework Security

See Also

Reference

IOutliningManagerService Interface

Microsoft.VisualStudio.Text.Outlining Namespace