public HResult CreateCommandBarLabel(Guid id, int priority, out INiCommandBarLabel label) { label = null; try { label = new NiCommandBarLabel(id, priority); _objects[id] = label; return(HResult.OK); } catch (Exception ex) { return(ErrorUtil.GetHResult(ex)); } }
public HResult CreateCommandBarLabel(Guid id, int priority, out INiCommandBarLabel label) { label = null; try { label = new NiCommandBarLabel(id, priority); _objects[id] = label; return HResult.OK; } catch (Exception ex) { return ErrorUtil.GetHResult(ex); } }