IWbs.CopyWholeColumnValues Method

Copy whole content of a column into another column.
Sub CopyWholeColumnValues( _ 
ByVal SourceColumnName As String, _ 
ByVal TargetColumnName As String, _ 
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 CopyWholeColumnValues( 
string SourceColumnName
string TargetColumnName
bool WriteToBranchesToo = True, 
PositionInWbsBranch WriteWhereForBranches = PositionInWbsBranch.Auto 
)
This language is not supported or no code example is available.

Parameters

SourceColumnName
string

The mnemonic of the source column.

TargetColumnName
string

The mnemonic of the target column.

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. Specifies whether to write to bottom or to top of branches.

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