Partager via


IToolTipPresenter.StartOrUpdate Method

Definition

Constructs a popup containing a platform-specific UI representation of content.

public:
 void StartOrUpdate(Microsoft::VisualStudio::Text::ITrackingSpan ^ applicableToSpan, System::Collections::Generic::IEnumerable<System::Object ^> ^ content);
public void StartOrUpdate (Microsoft.VisualStudio.Text.ITrackingSpan applicableToSpan, System.Collections.Generic.IEnumerable<object> content);
abstract member StartOrUpdate : Microsoft.VisualStudio.Text.ITrackingSpan * seq<obj> -> unit
Public Sub StartOrUpdate (applicableToSpan As ITrackingSpan, content As IEnumerable(Of Object))

Parameters

applicableToSpan
ITrackingSpan

The span of text for which the tooltip is kept open.

content
IEnumerable<Object>

A platform independent representation of the tooltip content. IToolTipPresenters should use the IViewElementFactoryService to convert content to platform specific UI elements.

Remarks

This method can be called multiple times to refresh the content and applicableToSpan.

Applies to