ISpaceReservationManager.UpdatePopupAgent Method
Updates the specified agent with the specified span.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Sub UpdatePopupAgent ( _
agent As ISpaceReservationAgent, _
visualSpan As ITrackingSpan, _
styles As PopupStyles _
)
void UpdatePopupAgent(
ISpaceReservationAgent agent,
ITrackingSpan visualSpan,
PopupStyles styles
)
void UpdatePopupAgent(
ISpaceReservationAgent^ agent,
ITrackingSpan^ visualSpan,
PopupStyles styles
)
abstract UpdatePopupAgent :
agent:ISpaceReservationAgent *
visualSpan:ITrackingSpan *
styles:PopupStyles -> unit
function UpdatePopupAgent(
agent : ISpaceReservationAgent,
visualSpan : ITrackingSpan,
styles : PopupStyles
)
Parameters
agent
Type: Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgentThe agent to add.
visualSpan
Type: Microsoft.VisualStudio.Text.ITrackingSpanThe agent's new visual span.
styles
Type: Microsoft.VisualStudio.Text.Adornments.PopupStylesThe popup styles.
Remarks
This method updates only popup agents, and returns for other agents.
.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.