IVsTextManager::GetMarkerTypeInterface Method (Int32, IVsTextMarkerType^)
Visual Studio 2015
Maps a numeric marker type ID to an interface that can be used to probe for specific information.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetMarkerTypeInterface( int iMarkerTypeID, [OutAttribute] IVsTextMarkerType^% ppMarkerType )
Parameters
- iMarkerTypeID
-
Type:
System::Int32
[in] The marker type ID, such as from GetType.
- ppMarkerType
-
Type:
Microsoft.VisualStudio.TextManager.Interop::IVsTextMarkerType^
[out] Pointer to the IVsTextMarkerType interface, which has been referenced with AddReference.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextManager::GetMarkerTypeInterface( [in] long iMarkerTypeID, [out] IVsTextMarkerType **ppMarkerType );
Use this interface to draw a marker glyph in your own user interface.
Show: