TextTipData.Update(String, Int32, Int32, IVsTextView) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将提供的数据添加到此文本提示。
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)
参数
- textValue
- String
工具提示的文本。
- pos
- Int32
提示的位置。
- len
- Int32
提示的长度。
- textView
- IVsTextView
注解
设置新的新值和对的调用 UpdateTipWindow textView 。 调用后 IsActive 返回 TRUE 。