QDVWBS.SetWBSFieldsValues Method

NOTE: This member is now obsolete. Use Qdv.UserApi.ITask.SetFieldsValuesToDb instead.

Writes values to a WBS row, either branch or task. Provides a way to write directly to the database.
[Obsolete("Use Qdv.UserApi.ITask.SetFieldsValuesToDb instead.")] 
public void SetWBSFieldsValues( 
string HexID
Dictionary<string, object> ColumnNamesWithValues
ref int ErrorNumber = 0, 
ref string ErrorMessage = "" 
)
This language is not supported or no code example is available.

Parameters

HexID
string

The 24 characters hexadecimal identifier to the task or chapter.

ColumnNamesWithValues
Dictionary<string, object>

A dictionary of (string, object) whose string is the identifier of the column and the object is either a string, a number, a date or an object of type GanttTaskAssignation.

ErrorNumber
int

A returned error number. 0 when no error.

ErrorMessage
string

A returned error message. Blank when no error.

Remarks
 

Because this function writes directly and only to the database, it doesn't write anything to the WBS workbook. For this reason it requires a repaint of the WBS workbook which must be called at the end of the execution of calling macro. Must call QDVEstimate.Check_And_Repaint function.

Calculated fields (those using formulas or being filled in from the minutes) cannot be written using this function.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition