public HResult SetInsertMode(NiInsertMode mode) { try { var status = GetCurrentStatus(); status.InsertMode = mode; ApplyStatus(status); return(HResult.OK); } catch (Exception ex) { return(ErrorUtil.GetHResult(ex)); } }
public HResult SetInsertMode(NiInsertMode mode) { try { var status = GetCurrentStatus(); status.InsertMode = mode; ApplyStatus(status); return HResult.OK; } catch (Exception ex) { return ErrorUtil.GetHResult(ex); } }