IWbsFieldsRepository.CreateFieldInstance Method
Function CreateFieldInstance( _
ByVal fieldKind As WbsFieldKind, _
ByVal mnemonic As String _
) As IWbsField
This language is not supported or no code example is available.
Parameters
- fieldKind
- WbsFieldKind
The kind of the field to be created. If the value is WbsFieldKind.BreakdownField, then a master breakdown field is created.
- mnemonic
- string
A mnemonic of the field to be created. May be null reference (Nothing in Visual Basic) if you don't want to set mnemonic yet. However, you must supply this argument if fieldKind is set to WbsFieldKind.SpecialField, because in this case the IWbsField.Mnemonic property cannot be set after the field is created.
Return Value
IWbsField
The new field object is not added to the repository. You must use AddField method for that.
The returned object has the IWbsField.NumericID property correctly set to a unique value.
Available since QDV 7.18.655.