VsTextManagerClass.GetMarkerTypeCount(Int32) 方法

定义

返回与核心文本编辑器关联的所有缓冲区中的已注册标记类型的数目。

public:
 virtual int GetMarkerTypeCount([Runtime::InteropServices::Out] int % piMarkerTypeCount) = Microsoft::VisualStudio::TextManager::Interop::IVsTextManager::GetMarkerTypeCount;
 virtual int GetMarkerTypeCount([Runtime::InteropServices::Out] int & piMarkerTypeCount);
public virtual int GetMarkerTypeCount (out int piMarkerTypeCount);
abstract member GetMarkerTypeCount : int -> int
override this.GetMarkerTypeCount : int -> int
Public Overridable Function GetMarkerTypeCount (ByRef piMarkerTypeCount As Integer) As Integer

参数

piMarkerTypeCount
Int32

弄指向标记类型的计数的指针。

返回

Int32

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

实现

适用于