Method of ITextDocument
Add new marker to the document
var ppMarker = TextDocument.AddMarker(pPosition, nImage, strDescription, nType);
ppMarker = TextDocument.AddMarker pPosition, nImage, strDescription, nType
CComPtr<IMarker> pMarker; HRESULT hr = TextDocument.AddMarker(pPosition, nImage, strDescription, nType, &pMarker);