public string GetPropertiesString()
{
string strVal = "";
foreach(PropertySpec property in properties)
{
PropertySpecEventArgs e = new PropertySpecEventArgs(property, null);
OnGetValue(e);
if(e.Value != null)
{
if(e.Value.GetType() == typeof(PropertyTable) || e.Value.GetType() == typeof(PropertyBag))
return "";
else
strVal += e.Value.ToString() + ", ";
}
}
return strVal.Substring(0, (strVal.Length-2));
}