IVsTextMarkerType.GetVisualStyle(UInt32) Method

Definition

Returns the appearance, location, and coloring of a custom marker type.

public:
 int GetVisualStyle([Runtime::InteropServices::Out] System::UInt32 % pdwVisualFlags);
int GetVisualStyle([Runtime::InteropServices::Out] unsigned int & pdwVisualFlags);
public int GetVisualStyle (out uint pdwVisualFlags);
abstract member GetVisualStyle : uint32 -> int
Public Function GetVisualStyle (ByRef pdwVisualFlags As UInteger) As Integer

Parameters

pdwVisualFlags
UInt32

[out] Flags indicating the appearance, location, and coloring of a marker. For a list of pdwVisualFlags values, see MARKERVISUAL.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerType::GetVisualStyle(  
   [out] DWORD* pdwVisualFlags  
);  

Attributes that comprise the visual style for a marker type include the foreground color, background color, and line style.

Applies to