public void RemoveProperty(string keyStr) { // Check if property existing OCTag oct = CheckPropertyExist(keyStr); if (oct != null) { _properties.Remove(oct); } }
public void AddProperty(string keyStr, string valueStr, System.Type type) { // Check if property existing OCTag oct = CheckPropertyExist(keyStr); if (oct != null) { _properties.Remove(oct); } _properties.Add(new OCTag(keyStr, valueStr, type)); }