Compartilhar via


ISpaceReservationManager.UpdatePopupAgent Method

Definition

Updates agent with the visualSpan. This only works for PopupAgents and returns for other agents.

public:
 void UpdatePopupAgent(Microsoft::VisualStudio::Text::Editor::ISpaceReservationAgent ^ agent, Microsoft::VisualStudio::Text::ITrackingSpan ^ visualSpan, Microsoft::VisualStudio::Text::Adornments::PopupStyles styles);
public:
 void UpdatePopupAgent(Microsoft::VisualStudio::Text::Editor::ISpaceReservationAgent ^ agent, Microsoft::VisualStudio::Text::ITrackingSpan ^ visualSpan, Microsoft::VisualStudio::Text::Adornments::PopupStyles styles);
void UpdatePopupAgent(Microsoft::VisualStudio::Text::Editor::ISpaceReservationAgent const & agent, Microsoft::VisualStudio::Text::ITrackingSpan const & visualSpan, Microsoft::VisualStudio::Text::Adornments::PopupStyles styles);
public void UpdatePopupAgent (Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent agent, Microsoft.VisualStudio.Text.ITrackingSpan visualSpan, Microsoft.VisualStudio.Text.Adornments.PopupStyles styles);
abstract member UpdatePopupAgent : Microsoft.VisualStudio.Text.Editor.ISpaceReservationAgent * Microsoft.VisualStudio.Text.ITrackingSpan * Microsoft.VisualStudio.Text.Adornments.PopupStyles -> unit
Public Sub UpdatePopupAgent (agent As ISpaceReservationAgent, visualSpan As ITrackingSpan, styles As PopupStyles)

Parameters

agent
ISpaceReservationAgent

The agent to add.

visualSpan
ITrackingSpan

The agent's new visual span.

styles
PopupStyles

Remarks

This method updates only popup agents, and returns for other agents.

Applies to