'DeclarationPublic ReadOnly Property ProjectTemplates As CollectionTemplates
public CollectionTemplates ProjectTemplates {get;}
public: property CollectionTemplates^ ProjectTemplates { CollectionTemplates^ get(); }
With this enumeration all project templates, which are defined in the opened List & Label project, can be read or new project templates can be defined.
'DeclarationPublic ReadOnly Property ProjectTemplates As CollectionTemplates
public CollectionTemplates ProjectTemplates {get;}
public: property CollectionTemplates^ ProjectTemplates { CollectionTemplates^ get(); }
// Define a new project template Template newProjTempl = new Template(proj.Templates); newProjTempl.FileName = @"c:\temp\proj.lst"; // Get all defined project templates foreach (Template templ in proj.Templates) { string templName = templ.FileName; }
Platforms: Windows 10 (Version 21H2 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
.NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10