AddRevisionMarkersForDeletedInRevisionProject(Project,Project,String) Method
Adds the revision markers of all deleted objects in the Comparison project. Note: The Comparison project has to be writable.
Parameters
- oComparisonProject
- The Comparison project to which the markers for deleted objects will be added.
- oProject
- The project containing the comparison results.
- strRevisionMarker
- Text for the marker.
Exception | Description |
ArgumentException | Thrown in case of
invalid parameters. |
ApplicationException | \Internal interface
necessary for the
revision management
could not be created. |
BaseException | An error occurred
when adding revision
markers. |
Revision revisionObj = new Revision();
revisionObj.CompareProjects(oProject, oComparisonProject, "Revision1.mdb", true, "Test");
//now the Revision1.mdb contains all changes. The added and changed objects are marked in oProject.
revisionObj.AddRevisionMarkersForDeletedInRevisionProject(oComparisonProject, "Test", "Revision1.mdb");
// now all deleted objects are marked in the oComparisonProject with "Test"