VsTextManagerClass.GetMarkerTypeCount(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回与核心文本编辑器关联的所有缓冲区中的已注册标记类型的数目。
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
弄指向标记类型的计数的指针。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。