共用方式為


ISpaceReservationManager.RemoveAgent 方法

由此管理員管理的代理程式] 清單中移除指定的空間保留區代理程式。

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
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

參數

傳回值

類型:Boolean
true 「 代理程式 」 是否在清單中的代理程式 」 來移除,否則false。

.NET Framework 安全性

請參閱

參考

ISpaceReservationManager 介面

Microsoft.VisualStudio.Text.Editor 命名空間