IWbsFieldsRepository.ReservedVirtualFields Property
ReadOnly Property ReservedVirtualFields() As IEnumerable(Of IWbsField)
This language is not supported or no code example is available.
Property Value
IEnumerable<IWbsField>The list of reserved virtual fields.
These fields are hidden and reserved for system and cannot be accessed from the fields manager. Most of their properties have no meaning. They have no formatting set, except for the column position in the expanded WBS. Their only valid properties are numeric ID, mnemonic (which can collide with a mnemonic of another real WBS breakdown field), field name, sub-header and position.
The only use of these "fields" for the user is in formulas. So the values can be tested in a field formula or conditional formatting. That's why the user can see these fields in the formula editor. But this applies only to those fields whose IColumnFormatting.ColumnPosition is equal or greater than zero.
Keep in mind that there may be a real WBS field with the same mnemonic. For example, one of the reserved fields is 'WBS_HexIndex'. And the user could create a WBS 'Field from minutes' aka WBS breakdown field that refers to 'WBS_HexIndex' minutes field. Such WBS field can have the same mnemonic - 'WBS_HexIndex'. But at the end, both such WBS fields (virtual and real) have the same values.
These virtual fields have no practical use for the end user and they are not included in the result of the GetAllFields method. You can use their mnemonics to get their values. But in most cases, you don't need them because the ITask provides the same information in a more friendly way.