Partilhar via


Método IVsTextMarkerType.GetDefaultLineStyle

Retorna o padrão de atributos de linha para um tipo de marcador personalizado.

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

Sintaxe

'Declaração
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

Parâmetros

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextMarkerType::GetDefaultLineStyle(
   [out] COLORINDEX *piLineColor,
   [out] LINESTYLE *piLineIndex
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextMarkerType Interface

Namespace Microsoft.VisualStudio.TextManager.Interop