combit List & Label 25 - .NET Online Web Help
LlDomFileMode Enumeration
Example Example 

combit.ListLabel25.Dom Namespace : LlDomFileMode Enumeration

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.

Public Enum LlDomFileMode 
   Inherits System.Enum
public enum LlDomFileMode : System.Enum 
public enum class LlDomFileMode : public System.Enum 
CreateCreates a new file. If the file does exist, it will be overwritten.
CreateNewCreates a new file. Will raise an exception if the file exists.
OpenOpens an existing file. Will raise an exception if the file does not exist.
OpenOrCreateOpens 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);
Inheritance Hierarchy



Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also


combit.ListLabel25.Dom Namespace