Skip to main content

TcxSchedulerStorageResourceItems.Add Method

Appends a new resource to the collection.

Declaration

function Add: TcxSchedulerStorageResourceItem;

Returns

Type
TcxSchedulerStorageResourceItem

Remarks

Call this function to create a resource with the default parameters. The Add function returns a reference (in Delphi) or pointer (in C++Builder) to the newly created resource.

Alternatively, you can call the TcxSchedulerStorageResourceItem class constructor, passing the resource collection as a parameter.

Note

Certain TcxSchedulerStorageResourceItems class descendants can override the Add function to create and return class-specific collection items.

See Also