Method of ITextView
Creates a popup menu and returns a newly created Menu Object
var ppMenu = TextView.CreatePopupMenu();
ppMenu = TextView.CreatePopupMenu
CComPtr<IMenuObject> pMenu; HRESULT hr = TextView.CreatePopupMenu(&pMenu);
ITextView