共用方式為


IVsTextMarker.GetVisualStyle(UInt32) Method

Definition

Returns the visual style of a marker type.

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

Parameters

pdwFlags
UInt32

[out] Pointer to a DWORD for the visual style flags. For a list of pdwFlags 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 IVsTextMarker::GetVisualStyle(  
   [out] DWORD *pdwFlags  
);  

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

Applies to