blob: 4c2570cbbd30664ac96bbe1ecb5fe4d570e35442 [file] [log] [blame]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OfficeOpenXml.VBA
{
/// <summary>
/// To determine if the attribute uses double quotes around the value
/// </summary>
public enum eAttributeDataType
{
/// <summary>
/// A string
/// </summary>
String=0,
/// <summary>
/// Not a string
/// </summary>
NonString=1
}
public class ExcelVbaModuleAttribute
{
internal ExcelVbaModuleAttribute()
{
}
/// <summary>
/// The name of the attribute
/// </summary>
public string Name { get; internal set; }
/// <summary>
/// The datatype. Determine if the attribute uses double quotes around the value.
/// </summary>
public eAttributeDataType DataType { get; internal set; }
/// <summary>
/// The value of the attribute without any double quotes.
/// </summary>
public string Value { get; set; }
public override string ToString()
{
return Name;
}
}
}