IEstimateVersion.SetMinuteFieldValueUponCriteria Method
Function SetMinuteFieldValueUponCriteria( _
ByVal IdentifyFields As Dictionary(Of String, Object), _
ByVal Updatefields As Dictionary(Of String, Object), _
Optional ByVal Excludefields As Dictionary(Of String, Object) = Nothing, _
Optional ByVal ComputeRowsDirectly As Boolean = False _
) As Integer
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. If this dictionary is empty, all available rows will be 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 IGanttTasksAssignation .
- 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.
Return Value
intReturns the number of updated rows.
Exception type | Condition |
---|---|
A problem occurred. |