Partager via


IVsSyntheticTextClient.GetTipText Method

Returns the tip text for hovering.

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

Syntax

'Déclaration
Function GetTipText ( _
    pSynthReg As IVsSyntheticRegion, _
    <OutAttribute> pbstrText As String() _
) As Integer
int GetTipText(
    IVsSyntheticRegion pSynthReg,
    string[] pbstrText
)
int GetTipText(
    [InAttribute] IVsSyntheticRegion^ pSynthReg, 
    [OutAttribute] array<String^>^ pbstrText
)
abstract GetTipText : 
        pSynthReg:IVsSyntheticRegion * 
        pbstrText:string[] byref -> int 
function GetTipText(
    pSynthReg : IVsSyntheticRegion, 
    pbstrText : String[]
) : int

Parameters

  • pbstrText
    Type: array<System.String[]
    [out] The text to display.

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 IVsSyntheticTextClient::GetTipText(
   [in] IVsSyntheticRegion *pSynthReg,
   [out, optional] BSTR *pbstrText
);

.NET Framework Security

See Also

Reference

IVsSyntheticTextClient Interface

Microsoft.VisualStudio.TextManager.Interop Namespace