public HResult CreateCommandBarTextBox(Guid id, int priority, out INiCommandBarTextBox textBox) { textBox = null; try { textBox = new NiCommandBarTextBox(id, priority); _objects[id] = textBox; return(HResult.OK); } catch (Exception ex) { return(ErrorUtil.GetHResult(ex)); } }
public HResult CreateCommandBarTextBox(Guid id, int priority, out INiCommandBarTextBox textBox) { textBox = null; try { textBox = new NiCommandBarTextBox(id, priority); _objects[id] = textBox; return HResult.OK; } catch (Exception ex) { return ErrorUtil.GetHResult(ex); } }