'Declaration
Public Enum LlDomFileMode Inherits System.Enum
public enum LlDomFileMode : System.Enum
public enum class LlDomFileMode : public System.Enum
When opening a project you must choose whether the file should be opened if existing, created always etc. This can be specified by using one of the enumeration values.
'Declaration
Public Enum LlDomFileMode Inherits System.Enum
public enum LlDomFileMode : System.Enum
public enum class LlDomFileMode : public System.Enum
Member | Description |
---|---|
Create | Creates a new file. If the file does exist, it will be overwritten. |
CreateNew | Creates a new file. Will raise an exception if the file exists. |
Open | Opens an existing file. Will raise an exception if the file does not exist. |
OpenOrCreate | Opens an existing file or creates a new one if the file cannot be opened. |
// bind the DOM object to a List & Label object ProjectList proj = new ProjectList(LL); // create a new listproject called 'dynamic.lst' proj.Open(Path.Combine(Application.StartupPath, "dynamic.lst"), LlDomFileMode.Create, LlDomAccessMode.ReadWrite);
System.Object
System.ValueType
System.Enum
combit.Reporting.Dom.LlDomFileMode
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