IWbsField.FieldName Property

Gets or sets the name of the field in the current language.
Property FieldName() As String
This language is not supported or no code example is available.
string FieldName {get; set;}
This language is not supported or no code example is available.

Property Value

string

The field name.

Remarks
 

This value may be also an Excel formula which returns localized column names. So instead of hard-coded "Progress-2", the following formula can be used: "=BoQXLS_Progress & "-2" & GetVersionID(-2)". In this case, you most likely don't need to set a text in other languages, because the formula will automatically display the localized string.

You need to call the IWbsFieldsRepository.EvaluateLocalizedFormula method if you want to get the evaluated result of the formula that is displayed to the user.

When columns are side-by-side, fields having similar names are merged.

The FieldName and FieldNameMultilingual properties are connected. Any change in the FieldName will modify also the FieldNameMultilingual property. And vice-versa, a change in the FieldNameMultilingual may modify also the FieldName property.

Version
 
Available since QDV 7.18.655.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition