Share via


IVsTextMarkerType.GetDefaultLineStyle, méthode

Retourne les attributs par défaut de ligne pour un 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 GetDefaultLineStyle ( _
    <OutAttribute> piLineColor As COLORINDEX(), _
    <OutAttribute> piLineIndex As LINESTYLE() _
) As Integer
int GetDefaultLineStyle(
    COLORINDEX[] piLineColor,
    LINESTYLE[] piLineIndex
)
int GetDefaultLineStyle(
    [OutAttribute] array<COLORINDEX>^ piLineColor, 
    [OutAttribute] array<LINESTYLE>^ piLineIndex
)
abstract GetDefaultLineStyle : 
        piLineColor:COLORINDEX[] byref * 
        piLineIndex:LINESTYLE[] byref -> int
function GetDefaultLineStyle(
    piLineColor : COLORINDEX[], 
    piLineIndex : LINESTYLE[]
) : int

Paramètres

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::GetDefaultLineStyle(
   [out] COLORINDEX *piLineColor,
   [out] LINESTYLE *piLineIndex
);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextMarkerType Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms