IWbs.GetColumnPosition Method
NOTE: This member is now obsolete. Use Qdv.UserApi.Fields.IWbsField.Formatting property and then get ColumnPosition property instead. This is a newer and more flexible API that was introduced in QDV 7.18.655. Access the WBS fields via Qdv.UserApi.IEstimate.WbsFieldsRepository property.
<Obsolete("Use Qdv.UserApi.Fields.IWbsField.Formatting property and then get ColumnPosition property instead. This is a newer and more flexible API that was introduced in QDV 7.18.655. Access the WBS fields via Qdv.UserApi.IEstimate.WbsFieldsRepository property.")> _
Function GetColumnPosition( _
ByVal columnNameOrUniqueIdentifier As String, _
Optional ByVal useUniqueIdentifierInstead As Boolean = False _
) As Integer
This language is not supported or no code example is available.
[Obsolete("Use Qdv.UserApi.Fields.IWbsField.Formatting property and then get ColumnPosition property instead. This is a newer and more flexible API that was introduced in QDV 7.18.655. Access the WBS fields via Qdv.UserApi.IEstimate.WbsFieldsRepository property.")]
int GetColumnPosition(
string columnNameOrUniqueIdentifier,
bool useUniqueIdentifierInstead = False
)
This language is not supported or no code example is available.
Parameters
- columnNameOrUniqueIdentifier
- string
The column name or its unique identifier.
- useUniqueIdentifierInstead
- bool
Optional. The default value is False.If set to true, then the unique identifier is used; otherwise the name is used.
Return Value
intThe position of the column, zero based (0 = A, 1 = B, 25 = AA, etc.). Returns -1 when no matching column was found.
When using the name, several columns may have the same name particularly when a
field from the minutes is broken down in the WBS. In this case, the function
returns the position of the first matching column.
Available since QDV 7.17.646.