IVsTextLineMarker.GetVisualStyle(UInt32) 方法

定义

返回标记类型的视觉样式。

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

参数

pdwFlags
UInt32

MARKERVISUAL

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

实现

注解

COM 签名

从 textmgr:

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

使用此方法可以确定标记类型的绘制方式。

适用于