次の方法で共有


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

'宣言
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