/// <summary> /// Rename the given project to the new name /// </summary> /// <param name="project">The project to change the name to</param> /// <param name="newName">The name to rename it to</param> /// <param name="error">A message containing any error encountered</param> /// <returns>If the renaming was successful</returns> public bool Rename(IProject project, string newName, ref string error) { var command = new XTMF.Commands.RenameProject( this.Configuration, project, newName ); if ( this.XTMFRuntime.ProcessCommand( command, ref error ) ) { return true; } return false; }