Compartilhar via


IVsTextTipData.GetTipText Method

Gets the tip text.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Function GetTipText ( _
    <OutAttribute> pbstrText As String(), _
    <OutAttribute> ByRef pfGetFontInfo As Integer _
) As Integer
int GetTipText(
    string[] pbstrText,
    out int pfGetFontInfo
)
int GetTipText(
    [OutAttribute] array<String^>^ pbstrText, 
    [OutAttribute] int% pfGetFontInfo
)
abstract GetTipText : 
        pbstrText:string[] byref * 
        pfGetFontInfo:int byref -> int
function GetTipText(
    pbstrText : String[], 
    pfGetFontInfo : int
) : int

Parameters

  • pfGetFontInfo
    Type: System.Int32%

    [out] The font information for the tip text.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextTipData::GetTipText(
   [out, custom(uuid_IVsTextTipData, "optional")] BSTR *pbstrText,
   [out] BOOL *pfGetFontInfo
);

.NET Framework Security

See Also

Reference

IVsTextTipData Interface

Microsoft.VisualStudio.TextManager.Interop Namespace