combit List & Label 29 - .NET Help
combit.Reporting.Dom Namespace / LlDomAccessMode Enumeration
Example Example


In This Topic
    LlDomAccessMode Enumeration
    In This Topic

    When opening a project you must choose whether to open the file with read/write access or read only. If you want to make changes to the project and save them, make sure to choose ReadWrite access mode.

    Syntax
    'Declaration
     
    
    Public Enum LlDomAccessMode 
       Inherits System.Enum
    public enum LlDomAccessMode : System.Enum 
    public enum class LlDomAccessMode : public System.Enum 
    Members
    MemberDescription
    ReadOnlyThe project is opened read only.
    ReadWriteThe project is opened with read/write access.
    Example
    // Bind the DOM object to a List & Label object
    ProjectList proj = new ProjectList(LL);
    
    // Create a new list project called 'dynamic.lst'
    proj.Open(Path.Combine(Application.StartupPath, "dynamic.lst"), LlDomFileMode.Create, LlDomAccessMode.ReadWrite);
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             combit.Reporting.Dom.LlDomAccessMode

    Requirements

    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

    See Also