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
參數
agent
類型:Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent要移除的代理程式。
傳回值
類型:Boolean
true 「 代理程式 」 是否在清單中的代理程式 」 來移除,否則false。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。