IMinutesFieldManager.AddSpecialField Method

Adds a special predefined field to the free fields.
Function AddSpecialField( _ 
ByVal fieldKind As SpecialFieldKind, _ 
Optional ByVal language As String = "", _ 
Optional ByVal progress As String = "" _ 
) As IMinutesField
This language is not supported or no code example is available.
IMinutesField AddSpecialField( 
SpecialFieldKind fieldKind
string language = "", 
string progress = "" 
)
This language is not supported or no code example is available.

Parameters

fieldKind
SpecialFieldKind

The kind if the special field to be created.

language
string

The field language, if the fieldKind is SpecialFieldKind.DescriptionLanguage or SpecialFieldKind.UnitLanguage. It should contain a locale in the form "NL-BE".

progress
string

The field progress, if the fieldKind is SpecialFieldKind.DescriptionLanguage or SpecialFieldKind.UnitLanguage. It should contain "", "Estimate" or a progress like "-2". Apparently this does not work! Also not in the real field manager; so always use "" for the moment.

Return Value

IMinutesField

The newly created field.

Exception type Condition

InvalidOperationException

This fields manager is for a set of fields. Fields cannot be added to a set of fields.

Version
 
Available since QDV 7.16.585.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition