Freigeben über


TextTipData.GetTipText Method

Populates pbstrText with the tip text.

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

'Declaration
Public Overridable Function GetTipText ( _
    pbstrText As String(), _
    <OutAttribute> ByRef pfFontData As Integer _
) As Integer
public virtual int GetTipText(
    string[] pbstrText,
    out int pfFontData
)

Parameters

  • pbstrText
    Type: array<System.String[]
    The populated text tip data.
  • pfFontData
    Type: System.Int32%
    Font information about the provided data.

Return Value

Type: System.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