public SaveModified ( |
||
xmlOut | The XML writer. | |
targetName | String | The name of the object to change. |
newName | String | The new name of this object. |
newDesc | String | The new description of this object. |
return | void |
/// <summary> /// Modify the specified object, such as changing its name or /// description. /// </summary> /// <param name="location">The location of the object being modified.</param> /// <param name="name">The old name of the object being modified.</param> /// <param name="newName">The new name of the object being modified.</param> /// <param name="newDesc">The new description of the object being modified.</param> public void ModifyObject(IPersistenceLocation location, String name, String newName, String newDesc) { PersistReader reader = new PersistReader(location); reader.SaveModified(this.xmlOut, name, newName, newDesc); reader.Close(); }
/// <summary> /// Modify the specified object, such as changing its name or /// description. /// </summary> /// <param name="location">The location of the object being modified.</param> /// <param name="name">The old name of the object being modified.</param> /// <param name="newName">The new name of the object being modified.</param> /// <param name="newDesc">The new description of the object being modified.</param> public void ModifyObject(IPersistenceLocation location, String name, String newName, String newDesc) { PersistReader reader = new PersistReader(location); reader.SaveModified(this.xmlOut, name, newName, newDesc); reader.Close(); }