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
'Déclaration
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.