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.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
'Declaración
Public Overridable Function GetTipText ( _
pbstrText As String(), _
<OutAttribute> ByRef pfFontData As Integer _
) As Integer
'Uso
Dim instance As TextTipData
Dim pbstrText As String()
Dim pfFontData As Integer
Dim returnValue As Integer
returnValue = instance.GetTipText(pbstrText, _
pfFontData)
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<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
- 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.