IWbs.SumColumnsGlobally Method
Sub SumColumnsGlobally( _
ByVal ColumnNamesToSum As String, _
ByVal TargetColumnName As String, _
Optional ByVal SumAlsoBranches As Boolean = True, _
Optional ByVal SumWhereForBranches As PositionInWbsBranch = PositionInWbsBranch.Auto _
)
This language is not supported or no code example is available.
Parameters
- ColumnNamesToSum
- string
The names (mnemonics) of the columns to be summed, separated by a semicolon ';'.
- TargetColumnName
- string
The name (mnemonic) of the target column, where the results will be written.
- SumAlsoBranches
- bool
Indicates whether chapters (branches) should be included in the computation.
- SumWhereForBranches
- PositionInWbsBranch
Optional. Specifies whether to write the results to bottom or to top of branches. The default value is PositionInWbsBranch.Auto.
Exception type | Condition |
---|---|
A problem occurred. |
This method writes to the WBS workbook using ITask.SetFieldValue method.
But it already optimizes the performance so it is not necessary to temporarily disable automatic
calculation with WbsWorkbookCalculationMode property.
Available since QDV 7.13.0001.