Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Async/HeuristicLab.ExtLibs/HeuristicLab.EPPlus/3.1.3/EPPlus-3.1.3/VBA/ExcelVbaModuleAttribute.cs @ 12214

Last change on this file since 12214 was 9580, checked in by sforsten, 12 years ago

#1730:

  • added SymbolicDataAnalysisExpressionExcelFormatter
  • changed modifiers in SymbolicExpressionTreeChart of methods SaveImageAsBitmap and SaveImageAsEmf to public
  • added menu item ExportSymbolicSolutionToExcelMenuItem to export a symbolic solution to an excel file
  • added EPPlus-3.1.3 to ExtLibs
File size: 1.2 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace OfficeOpenXml.VBA
7{
8    /// <summary>
9    /// To determine if the attribute uses double quotes around the value
10    /// </summary>
11    public enum eAttributeDataType
12    {
13        /// <summary>
14        /// A string
15        /// </summary>
16        String=0,
17        /// <summary>
18        /// Not a string
19        /// </summary>
20        NonString=1
21    }
22    public class ExcelVbaModuleAttribute
23    {
24        internal ExcelVbaModuleAttribute()
25        {
26
27        }
28        /// <summary>
29        /// The name of the attribute
30        /// </summary>
31        public string Name { get; internal set; }
32        /// <summary>
33        /// The datatype. Determine if the attribute uses double quotes around the value.
34        /// </summary>
35        public eAttributeDataType DataType { get; internal set; }
36        /// <summary>
37        /// The value of the attribute without any double quotes.
38        /// </summary>
39        public string Value { get; set; }
40        public override string ToString()
41        {
42            return Name;
43        }
44    }
45}
Note: See TracBrowser for help on using the repository browser.