Partager via


TextTipData.Update Method

Adds the supplied data to this text tip.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   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.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.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 _
)
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: String

    The text of the tool tip.

  • pos
    Type: Int32

    The position of the tip.

  • len
    Type: Int32

    The length of the tip.

Remarks

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

.NET Framework Security

See Also

Reference

TextTipData Class

Microsoft.VisualStudio.Package Namespace