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

'宣言
Function GetVisualStyle ( _
    <OutAttribute> ByRef pdwFlags As UInteger _
) As Integer
'使用
Dim instance As IVsTextLineMarker
Dim pdwFlags As UInteger
Dim returnValue As Integer

returnValue = instance.GetVisualStyle(pdwFlags)
int GetVisualStyle(
    out uint pdwFlags
)
int GetVisualStyle(
    [OutAttribute] unsigned int% pdwFlags
)
function GetVisualStyle(
    pdwFlags : uint
) : int

Parameters

  • pdwFlags
    Type: System.UInt32%

    [out] Pointer to a DWORD for the visual style flags. For a list of pdwFlags values, see MARKERVISUAL.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsTextMarker.GetVisualStyle(UInt32%)

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextLineMarker::GetVisualStyle(
   [out] DWORD *pdwFlags
);

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

Permissions

See Also

Reference

IVsTextLineMarker Interface

IVsTextLineMarker Members

Microsoft.VisualStudio.TextManager.Interop Namespace