Method GetLatestDocument
GetLatestDocument(params DocumentBase[])
Obtains the latest document from the specified document objects that represent the same document.
public static DocumentBase GetLatestDocument(params DocumentBase[] documents)
Parameters
documents
DocumentBase[]The document objects with the same GUID.
Returns
- DocumentBase
The latest document from the specified document objects that represent the same document.
Exceptions
- ArgumentException
documents
is null or empty
-or-
Not all documents have the same GUID.