GroupCreateOfficeHoliday Method

Creates a new OfficeHoliday object for this group.

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
OfficeHoliday CreateOfficeHoliday()

Return Value

OfficeHoliday
A new instance of OfficeHoliday

Remarks

It is recommended to store the (new) object created by this method as a part of Group saving procedure.
i.e.
C#
Group g;
OfficeHoliday h = g.CreateOfficeHoliday();
initialization here of h
g.AttachOnSave(h);
g.Save();

See Also