GetLastVersion¶
Returns the last version of the document instance from the repository if found; otherwise, returns null.
$Documents.GetLastVersion(branchId: string):( Document | "null" )
Parameters¶
string branchId
The branch ID of the document.
Remarks¶
The branch ID must be a GUID. This method returns the latest version visible in the current domain context, or null when no version exists.
See Also¶
- ( Document |
"null")