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
piLineColor
Type : array<Microsoft.VisualStudio.TextManager.Interop.COLORINDEX[][out] pointeur à la couleur par défaut de ligne. Pour une liste de valeurs d'piLineColor, consultez l'COLORINDEX.
piLineIndex
Type : array<Microsoft.VisualStudio.TextManager.Interop.LINESTYLE[][out] pointeur au style de ligne par défaut. Pour une liste de valeurs d'piLineIndex, consultez l'LINESTYLE.
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
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.