<Code Lib>
2020 Method
Changes 0
M

Document.GetDocumentVersion

Description:
Gets the DocumentVersion that corresponds to a document.
Remarks:
This function can be combined with IsModified to see whether a document in memory is different from a version on disk. The documents are different if the document is modified or if the two DocumentVersions differ.

public static DocumentVersion GetDocumentVersion(
	Document doc
)

Return Value DocumentVersion The DocumentVersion corresponding to the given document.

Loading…