public sealed override bool Delete(Context cx, object id)
{
if (cx == null)
{
cx = Context.GetCurrentContext();
}
XMLName xmlName = lib.ToXMLNameOrIndex(cx, id);
if (xmlName == null)
{
long index = ScriptRuntime.LastUint32Result(cx);
// XXX Fix this
Delete((int)index);
return true;
}
DeleteXMLProperty(xmlName);
return true;
}