Share via


IWpfTextView.GetSpaceReservationManager Method

Gets a named ISpaceReservationManager.

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

Syntax

'Declaration
Function GetSpaceReservationManager ( _
    name As String _
) As ISpaceReservationManager
ISpaceReservationManager GetSpaceReservationManager(
    string name
)
ISpaceReservationManager^ GetSpaceReservationManager(
    String^ name
)
abstract GetSpaceReservationManager : 
        name:string -> ISpaceReservationManager
function GetSpaceReservationManager(
    name : String
) : ISpaceReservationManager

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Editor.ISpaceReservationManager
An instance of the manager in this view.

Exceptions

Exception Condition
ArgumentOutOfRangeException

name is not registered through a SpaceReservationManagerDefinition.

Remarks

Managers must be exported by using SpaceReservationManagerDefinition component parts.

.NET Framework Security

See Also

Reference

IWpfTextView Interface

Microsoft.VisualStudio.Text.Editor Namespace