IVsTextLineMarker.GetType(Int32) 方法

定义

返回文本标记类型。

public:
 int GetType([Runtime::InteropServices::Out] int % piMarkerType);
int GetType([Runtime::InteropServices::Out] int & piMarkerType);
public int GetType (out int piMarkerType);
abstract member GetType : int -> int
Public Function GetType (ByRef piMarkerType As Integer) As Integer

参数

piMarkerType
Int32

MARKERTYPE

返回

Int32

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

实现

注解

COM 签名

从 textmgr:

HRESULT IVsTextLineMarker::GetType(  
   [out] long *piMarkerType  
);  

适用于