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
'宣言
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
- agent
Type: Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent
The agent to remove.
Return Value
Type: System.Boolean
true if the agent was in the list of agents to remove, otherwise false.
.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.