QDVWBS.GetHeadingsInWBS Method

NOTE: This member is now obsolete. Use Qdv.UserApi.IWbs.GetColumnHeading instead.

Returns the heading of a column in the WBS. Gets the displayed name and the parent name.
[Obsolete("Use Qdv.UserApi.IWbs.GetColumnHeading instead.")] 
public WBSHeadings GetHeadingsInWBS( 
string FieldMnemonic
int Version = 0 
)
This language is not supported or no code example is available.

Parameters

FieldMnemonic
string

The unique identifier to the WBS field (Mnemonic).

Version
int

Optional, the version to be read. 0 is the current active version.

Return Value

WBSHeadings

An object of type WBSHeadings which contains the parent name, the displayed name of the column and the identifier (number) of the column. The latter is mostly used in the formulas of the BOQ.

Remarks
 
ParentName and DisplayedName are returned 'as is', meaning that they have all characters including possible CR or LF. Those special characters are removed when reading the DisplayedName using the WBSMapping property.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition