IVsTextManager.GetMarkerTypeCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the number of registered marker types within all buffers associated with the core text editor.
public:
int GetMarkerTypeCount([Runtime::InteropServices::Out] int % piMarkerTypeCount);
int GetMarkerTypeCount([Runtime::InteropServices::Out] int & piMarkerTypeCount);
public int GetMarkerTypeCount (out int piMarkerTypeCount);
abstract member GetMarkerTypeCount : int -> int
Public Function GetMarkerTypeCount (ByRef piMarkerTypeCount As Integer) As Integer
Parameters
- piMarkerTypeCount
- Int32
[out] Pointer to a count of the marker types.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextManager::GetMarkerTypeCount(
[out] long *piMarkerTypeCount
);
Externally registered marker types can change the count of marker types for the editor.