QDVWBS.SetMinuteFieldValueUponCriteria Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IEstimateVersion.SetMinuteFieldValueUponCriteria instead.

Sets value to fields in minutes, globally, according to a criteria.
[Obsolete("Use Qdv.UserApi.IEstimateVersion.SetMinuteFieldValueUponCriteria instead.")] 
public int SetMinuteFieldValueUponCriteria( 
Dictionary<string, object> IdentifyFields
Dictionary<string, object> Updatefields
Dictionary<string, object> Excludefields = Nothing, 
bool ComputeRowsDirectly = False, 
ref string ErrorMessage = "", 
ref int ErrorNumber = 0 
)
This language is not supported or no code example is available.

Parameters

IdentifyFields
Dictionary<string, object>

A dictionary of string values which is used to identify the rows. The ID is the mnemonic of the string field and the value is the expected value being in the string field. This is case sensitive. When the value matches, the row is updated.

Updatefields
Dictionary<string, object>

A dictionary of objects where the ID is the mnemonic of the field to update and the value is the object value to store to the field. Can be either a string, a number, a date or an object of type GanttTasksAssignation .

Excludefields
Dictionary<string, object>

Optional. A dictionary of string values which is used to exclude the rows. The ID is the mnemonic of the string field and the value is the expected value being in the string field. This is case sensitive. When the value matches, the row is not updated regardless what is set in IdentifyFields.

ComputeRowsDirectly
bool

Optional. When false (default) rows are flagged to be recalculated latter. This is faster but needs a compute cost or compute all afterward.

ErrorMessage
string

Optional. A string value passed by reference which returns an error message. Blank when no error occurs.

ErrorNumber
int

Optional. An integer value passed by reference which returns an error number. 0 when no error occurs.

Return Value

int

Returns the number of updated rows.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition