Autodesk.AutoCAD.Customization Namespace > CustomizationSection Class > CustomizationSection Constructor > CustomizationSection(string, bool, bool) Constructor
CustomizationSection.CustomizationSection(string, bool, bool) Constructor
Description

 

This constructor opens a CUI file, with additional options.

Visual Basic
Public Sub New(
    fileName As string, 
    readOnly As bool, 
    showMessageBox As bool
)
C#
public CustomizationSection(
    string fileName, 
    bool readOnly, 
    bool showMessageBox
);
Parameters
Parameters 
Description 
string fileName 
Input the name of the CUI file. 
bool readOnly 
Input whether or not to open the file as read-only. 
bool showMessageBox 
Input whether error and warning messages are to be displayed in a dialog: If set to true, displays in a dialog; otherwise, prints to the command line. 
Links
   Comments?