UpdateExternalLinks() public méthode

Handle changes to the LinkedFiles root directory for a language project.
This may not be the best place for this method, but I'm not sure there is a "best place".
public UpdateExternalLinks ( string sOldLinkedFilesRootDir ) : bool
sOldLinkedFilesRootDir string The old LinkedFiles root directory.
Résultat bool
Exemple #1
0
		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Moves the external link directory and files to the new FW 7.0 or later location.
		/// </summary>
		/// <param name="app">The application.</param>
		/// ------------------------------------------------------------------------------------
		private static void MoveExternalLinkDirectoryAndFiles(FwApp app)
		{
			var sLinkedFilesRootDir = app.Cache.LangProject.LinkedFilesRootDir;
			NonUndoableUnitOfWorkHelper.Do(app.Cache.ActionHandlerAccessor, () =>
			{
				app.Cache.LangProject.LinkedFilesRootDir = FdoFileHelper.GetDefaultLinkedFilesDir(
					app.Cache.ProjectId.ProjectFolder);
			});
			app.UpdateExternalLinks(sLinkedFilesRootDir);
		}