IWbsField.DataType Property
Property DataType() As WbsFieldDataType
This language is not supported or no code example is available.
Property Value
WbsFieldDataTypeThe field data type.
You can define the field data type only for free fields. If you try to set this property for another field kinds, such as native fields, you'll get the QdvApiException exception.
The native and special WBS fields have predefined data types and you can read them from this property.
On the other hand, breakdown and progress fields depend on other WBS or minutes fields, so the value of this property is not valid for them. To get the data type of such WBS fields, you need to resolve it yourself.
In case of breakdown fields, you can get the referenced minutes field from the IWbsFieldMasterBreakdownInfo.BreakdownMainField property and read the data type from that minutes field.
In case of progress fields, you can get the referenced WBS field from the ProgressField property and read the data type from that WBS field.