共用方式為


ISpaceReservationManager.AddAgent 方法

將空間保留區代理新增到由此管理員管理的代理程式的清單。

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

語法

'宣告
Sub AddAgent ( _
    agent As ISpaceReservationAgent _
)
void AddAgent(
    ISpaceReservationAgent agent
)
void AddAgent(
    ISpaceReservationAgent^ agent
)
abstract AddAgent : 
        agent:ISpaceReservationAgent -> unit
function AddAgent(
    agent : ISpaceReservationAgent
)

參數

.NET Framework 安全性

請參閱

參考

ISpaceReservationManager 介面

Microsoft.VisualStudio.Text.Editor 命名空間