Testing.Document.CreateDocument C# (CSharp) Method

CreateDocument() public static method

Create a new Document object.
public static CreateDocument ( global documentID, global title, global fileName, global fileExtension, global revision, global changeNumber, global status, global modifiedDate ) : Document
documentID global Initial value of the DocumentID property.
title global Initial value of the Title property.
fileName global Initial value of the FileName property.
fileExtension global Initial value of the FileExtension property.
revision global Initial value of the Revision property.
changeNumber global Initial value of the ChangeNumber property.
status global Initial value of the Status property.
modifiedDate global Initial value of the ModifiedDate property.
return Document
        public static Document CreateDocument(global::System.Int32 documentID, global::System.String title, global::System.String fileName, global::System.String fileExtension, global::System.String revision, global::System.Int32 changeNumber, global::System.Byte status, global::System.DateTime modifiedDate)
        {
            Document document = new Document();
            document.DocumentID = documentID;
            document.Title = title;
            document.FileName = fileName;
            document.FileExtension = fileExtension;
            document.Revision = revision;
            document.ChangeNumber = changeNumber;
            document.Status = status;
            document.ModifiedDate = modifiedDate;
            return document;
        }