Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
name
Type: System.StringThe name of the manager.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.