IWbsField.DataType Property

Gets or sets the data type of the field. It's relevant only for free fields. You can also read it for native and special fields.
Property DataType() As WbsFieldDataType
This language is not supported or no code example is available.
WbsFieldDataType DataType {get; set;}
This language is not supported or no code example is available.

Property Value

WbsFieldDataType

The field data type.

Remarks
 

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.

Version
 
Available since QDV 7.18.683.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition