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.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
'Declaration
Public Sub Update ( _
textValue As String, _
pos As Integer, _
len As Integer, _
textView As IVsTextView _
)
'Usage
Dim instance As TextTipData
Dim textValue As String
Dim pos As Integer
Dim len As Integer
Dim textView As IVsTextView
instance.Update(textValue, pos, len, textView)
public void Update(
string textValue,
int pos,
int len,
IVsTextView textView
)
public:
void Update(
String^ textValue,
int pos,
int len,
IVsTextView^ textView
)
member Update :
textValue:string *
pos:int *
len:int *
textView:IVsTextView -> unit
public function Update(
textValue : String,
pos : int,
len : int,
textView : IVsTextView
)
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.