Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebJobManager/HeuristicLab.ExtLibs/HeuristicLab.EPPlus/4.0.3/EPPlus-4.0.3/VBA/ExcelVbaModuleAttribute.cs

Last change on this file was 12074, checked in by sraggl, 10 years ago

#2341: Added EPPlus-4.0.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.