Delen via


IVsTextLineMarker.GetVisualStyle Method

Returns the visual style of a marker type.

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

Syntax

'Declaration
Function GetVisualStyle ( _
    <OutAttribute> ByRef pdwFlags As UInteger _
) As Integer
int GetVisualStyle(
    out uint pdwFlags
)
int GetVisualStyle(
    [OutAttribute] unsigned int% pdwFlags
)
abstract GetVisualStyle : 
        pdwFlags:uint32 byref -> int
function GetVisualStyle(
    pdwFlags : uint
) : 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 IVsTextLineMarker::GetVisualStyle(
   [out] DWORD *pdwFlags
);

Use this method to determine how a marker type is painted.

.NET Framework Security

See Also

Reference

IVsTextLineMarker Interface

Microsoft.VisualStudio.TextManager.Interop Namespace