TextTipData.Update Method
Adds the supplied data to this text tip.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Sub Update ( _
textValue As String, _
pos As Integer, _
len As Integer, _
textView As IVsTextView _
)
public void Update(
string textValue,
int pos,
int len,
IVsTextView textView
)
Parameters
- textValue
Type: System.String
The text of the tool tip.
- pos
Type: System.Int32
The position of the tip.
- len
Type: System.Int32
The length of the tip.
- textView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
The UpdateTipWindow that should be updated.
Remarks
Sets new the new values and calls UpdateTipWindow on textView. After calling IsActive returns TRUE.
.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.