Share via


IVsTextMarkerType.GetDisplayName, méthode

Retourne le nom complet du type de marqueur personnalisé.

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

Syntaxe

'Déclaration
Function GetDisplayName ( _
    <OutAttribute> ByRef pbstrName As String _
) As Integer
int GetDisplayName(
    out string pbstrName
)
int GetDisplayName(
    [OutAttribute] String^% pbstrName
)
abstract GetDisplayName : 
        pbstrName:string byref -> int
function GetDisplayName(
    pbstrName : String
) : int

Paramètres

  • pbstrName
    Type : String%

    [out] pointeur au nom complet pour le type de marqueur personnalisé.

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 IVsTextMarkerType::GetDisplayName(
   [out] BSTR *pbstrName
);

Le nom complet est montré dans la boîte de dialogue d'Options. Le nom complet doit être localisé avec la langue appropriée.

Sécurité .NET Framework

Voir aussi

Référence

IVsTextMarkerType Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms