Partager via


ISpaceReservationManager.RemoveAgent Method

Removes the specified space reservation agent from 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
Function RemoveAgent ( _
    agent As ISpaceReservationAgent _
) As Boolean
bool RemoveAgent(
    ISpaceReservationAgent agent
)
bool RemoveAgent(
    ISpaceReservationAgent^ agent
)
abstract RemoveAgent : 
        agent:ISpaceReservationAgent -> bool
function RemoveAgent(
    agent : ISpaceReservationAgent
) : boolean

Parameters

Return Value

Type: Boolean
true if the agent was in the list of agents to remove, otherwise false.

.NET Framework Security

See Also

Reference

ISpaceReservationManager Interface

Microsoft.VisualStudio.Text.Editor Namespace