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


combit.ListLabel24.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.

Syntax
'Declaration
 
Public Enum LlDomFileMode 
   Inherits System.Enum
public enum LlDomFileMode : System.Enum 
public enum class LlDomFileMode : public System.Enum 
Members
MemberDescription
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.
Example
// 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

System.Object
   System.ValueType
      System.Enum
         combit.ListLabel24.Dom.LlDomFileMode

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

combit.ListLabel24.Dom Namespace