IMinute Interface

Represents a minute in an estimate.
Public Interface IMinute
This language is not supported or no code example is available.
public interface IMinute
This language is not supported or no code example is available.
Name Description
Public property Task Gets the WBS task to which this minute belongs.
Top
Methods
 
Name Description
Public method ClearRowValues(int) Clears all data on a particular row, just as it is after you insert a new row.
Public method DeleteRow(int, int, bool) Deletes one or more rows from the minute.
Public method GetBlob(int, string, ref string) Reads the content of the blob belonging to a column of a minute row.
Public method GetFieldValue(int, string) Returns a value of a specified field from a minute cell.
Public method GetFieldsValues(int, int, List<String>, bool) Returns values of multiple fields in multiple rows in a minute.
Public method GetFullData() Gets the full data of the minute - all rows with all specified fields. It also updates the internal data cache with this data.
Public method GetMultipleTaskInGanttAssignation(int) Returns an IGanttTasksAssignation object representing Gantt Tasks being referenced in the row. It is to be used when multiple Gantt tasks are pointed out by the same row.
Public method GetRowsCount() Returns the count of rows in the minute.
Public method GetSetImageAsObject(int) Gets the information about inputs to the set.
Public method GetSetImageAsWorkbook(int) Gets a workbook image of the workbook being in the set database used to fill in the row.
Public method GetTypeOfSetImage(int) Determines the type of the set image being in the minute row.
Public method GroupRows(int, int) Groups specified rows.
Public method InsertRows(int, int) Inserts one or more empty rows into the minute.
Public method InsertSetAtRow(int, string, int, string, double)
Public method InsertSetAtRow(int, string, int, string, double, InputFieldsFromSetImage) Inserts a set into a minute from the specified database.
Public method InsertSetAtRow(int, string, int, string, double, InputFieldsFromSetImage, InsertSetErrorAction) Inserts a set into a minute from the specified database.
Public method SetFieldValue(int, string, object) Writes a value to a minute cell.
Public method SetFieldValue(int, Dictionary<StringObject>) Writes values to a minute row.
Public method StoreBlob(int, string, byte[], string) Writes a blob to a row to the specified column.
Public method StoreSetImageAsObject(int, InputFieldsFromSetImage) Stores the information about inputs to the set.
Public method UngroupRows(int, int) Ungroups specified rows.
Public method UpdateRowsFromDatabases(int, int, List<String>, List<String>, List<String>) Updates specified rows when they come from article databases.
Public method UpdateValuesConditionally(string, object, string, object, WhereConditionType, bool) Updates field values of the minute if the minute row satisfies the test condition.
Top
Remarks
 

Each minute belongs to a WBS task and it contains zero or several rows (lines). Each row contains several columns, also called fields.

Depending on the column type, fields may contain numeric, textual, date or Gantt information. There are some special fields explained below.

TaskInGantt field

This field is used for referencing gantt tasks. When the TaskInGantt field refers to only one Gantt task, the GetFieldValue function returns a string which contains the unique description of the task. When the TaskInGantt field refers to several tasks, the function returns "<Multi>". Then you have to use the GetMultipleTaskInGanttAssignation function to get info about these tasks.

FreeField field

This is a hidden field not accessible from GUI. You can only read and write to it programmatically. The purpose of FreeField field is to define minute row formatting.

It consists of 10 characters. Each character position represents a particular formatting. If the character is set to a space ' ', the formatting is not applied. If the character at the position is set to an upper 'X', the formatting is applied.

Explanation of the formatting:

Character position 
(zero-based)
Meaning
4Strikethrough. “X” = on, space = off
5Italic. “X” = on, space = off
6Bold. “X” = on, space = off
7Underline. “X” = on, space = off
8

Color.

space = White 
Y = Yellow 
G = Green 
O = Orange 
B = Blue 
P = Pink 
V = Purple (violet) 
R = Red

Other positions are not used.

You can use the FreeFieldValue class to manipulate the values easily.

Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition