Revision.Create
Description:
Creates a new Revision in the project.
Creates a new Revision in the project.
Remarks:
The new Revision will be added at the end of the sequence of existing Revisions.
The new Revision will be added at the end of the sequence of existing Revisions.
-
documentThe document of the new Revision.
private Revision AddNewRevision(Document document, string description, string issuedBy, string issuedTo, int sequenceNumber, DateTime date)
{
Revision newRevision = Revision.Create(document);
newRevision.Description = description;
newRevision.IssuedBy = issuedBy;
newRevision.IssuedTo = issuedTo;
newRevision.NumberType = RevisionNumberType.Alphanumeric;
newRevision.RevisionDate = date.ToShortDateString();
return newRevision;
}
-
document is not a project document.
-
A non-optional argument was NULL