'Declaration
Public 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.
'Declaration
Public 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 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8