Web.Stencils.TWebStencilsPathTemplateCollection.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add: TWebStencilsPathTemplateItem; overload;
function Add(const ATemplate: string; const ARedirect: string = '';
const AInitMethod: TWebStencilsPathInitEvent = nil): TWebStencilsPathTemplateItem; overload;

C++

HIDESBASE TWebStencilsPathTemplateItem* __fastcall Add()/* overload */;
HIDESBASE TWebStencilsPathTemplateItem* __fastcall Add(const System::UnicodeString ATemplate, const System::UnicodeString ARedirect = System::UnicodeString(), const TWebStencilsPathInitEvent AInitMethod = 0x0)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Web.Stencils.pas
Web.Stencils.hpp
Web.Stencils TWebStencilsPathTemplateCollection

Description

Creates a new TCollectionItem instance and adds it to the Items array.

Web.Stencils.TWebStencilsPathTemplateCollection.Add inherits from System.Classes.TCollection.Add. All content below this line refers to System.Classes.TCollection.Add.

Creates a new TCollectionItem instance and adds it to the Items array.

Call Add to create an item in the collection. The new item is placed at the end of the Items array.

Add returns the new collection item.

See Also