다음을 통해 공유


IVsTextMarkerType.GetDefaultLineStyle Method

Returns the default line attributes for a custom marker type.

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

Syntax

‘선언
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

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

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

.NET Framework Security

See Also

Reference

IVsTextMarkerType Interface

Microsoft.VisualStudio.TextManager.Interop Namespace