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.
Adds a space reservation agent to the list of agents managed by this manager.
Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Sub AddAgent ( _
    agent As ISpaceReservationAgent _
)
void AddAgent(
    ISpaceReservationAgent agent
)
void AddAgent(
    ISpaceReservationAgent^ agent
)
abstract AddAgent : 
        agent:ISpaceReservationAgent -> unit 
function AddAgent(
    agent : ISpaceReservationAgent
)
Parameters
- agent
 Type: Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent
 The agent to add.
.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.