共用方式為


TextTipData.Update(String, Int32, Int32, IVsTextView) Method

Definition

Adds the supplied data to this text tip.

public:
 void Update(System::String ^ textValue, int pos, int len, Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
public:
 void Update(Platform::String ^ textValue, int pos, int len, Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ textView);
void Update(std::wstring const & textValue, int pos, int len, Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & textView);
public void Update (string textValue, int pos, int len, Microsoft.VisualStudio.TextManager.Interop.IVsTextView textView);
member this.Update : string * int * int * Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> unit
Public Sub Update (textValue As String, pos As Integer, len As Integer, textView As IVsTextView)

Parameters

textValue
String

The text of the tool tip.

pos
Int32

The position of the tip.

len
Int32

The length of the tip.

textView
IVsTextView

The UpdateTipWindow(IVsTipWindow, UInt32) that should be updated.

Remarks

Sets new the new values and calls UpdateTipWindow on textView. After calling IsActive returns TRUE.

Applies to