Compartilhar via


TextTipData.GetTipText Method

Populates pbstrText with the tip text.

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 Overridable Function GetTipText ( _
    pbstrText As String(), _
    <OutAttribute> ByRef pfFontData As Integer _
) As Integer
public virtual int GetTipText(
    string[] pbstrText,
    out int pfFontData
)
public:
virtual int GetTipText(
    array<String^>^ pbstrText, 
    [OutAttribute] int% pfFontData
)
abstract GetTipText : 
        pbstrText:string[] * 
        pfFontData:int byref -> int  
override GetTipText : 
        pbstrText:string[] * 
        pfFontData:int byref -> int
public function GetTipText(
    pbstrText : String[], 
    pfFontData : int
) : int

Parameters

  • pbstrText
    Type: array<String[]

    The populated text tip data.

  • pfFontData
    Type: Int32%

    Font information about the provided data.

Return Value

Type: Int32
If pbstrText is NULL or has a length of zero, returns E_INVALIDARG, otherwise returns S_OK.

Implements

IVsTextTipData.GetTipText(array<String[], Int32%)

.NET Framework Security

See Also

Reference

TextTipData Class

Microsoft.VisualStudio.Package Namespace