using System;
using System.Xml;
namespace umbraco.interfaces
{
///
/// The IData is part of the IDataType interface for creating new data types in the umbraco backoffice.
/// The IData represents the actual value entered by the user.
///
public interface IData
{
///
/// Gets or sets the property id.
///
/// The property id.
int PropertyId{set;}
///
/// Converts the data to XML.
///
/// The data.
/// The data as XML.
XmlNode ToXMl(XmlDocument data);
///
/// Gets or sets the value.
///
/// The value.
object Value {get;set;}
///
/// Creates a new value
///
/// The property id.
void MakeNew(int PropertyId);
///
/// Deletes this instance.
///
void Delete();
}
}