IWbs.SetValueToWholeColumn Method

Sets a fixed value to all cells of a column.
Sub SetValueToWholeColumn( _ 
ByVal ColumnName As String, _ 
ByVal Value As Object, _ 
Optional ByVal WriteToBranchesToo As Boolean = True, _ 
Optional ByVal WriteWhereForBranches As PositionInWbsBranch = PositionInWbsBranch.Auto _ 
)
This language is not supported or no code example is available.
void SetValueToWholeColumn( 
string ColumnName
object Value
bool WriteToBranchesToo = True, 
PositionInWbsBranch WriteWhereForBranches = PositionInWbsBranch.Auto 
)
This language is not supported or no code example is available.

Parameters

ColumnName
string

The mnemonic of the WBS column.

Value
object

The value to be written.

WriteToBranchesToo
bool

Optional. The default value is true. If set to true, then values are also written to branches; otherwise, values are only written to leaves.

WriteWhereForBranches
PositionInWbsBranch

Optional. The default value is PositionInWbsBranch.Auto.

Exception type Condition

QdvApiException

A problem occurred.

Remarks
 
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.
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition