Partager via


IVsTextLineMarker.GetTipText, méthode

Retourne le texte pour s'afficher dans un conseil pour le type de marqueur.

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

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

Paramètres

  • pbstrText
    Type : array<String[]

    [out] pointeur à la chaîne contenant le texte de conseil pour le type de marqueur.

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextLineMarker::GetTipText(
   [out, optional] BSTR *pbstrText); 

Sécurité .NET Framework

Voir aussi

Référence

IVsTextLineMarker Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms