Compartilhar via


ISpaceReservationManager.AddAgent Method

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

.NET Framework Security

See Also

Reference

ISpaceReservationManager Interface

Microsoft.VisualStudio.Text.Editor Namespace