DocumentLibraryVersion Interface
The DocumentLibraryVersion object represents a single saved version of a shared document that has versioning enabled and that is stored in a document library on the server.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Usage
Public Class ocumentLibraryVersionImplementation
Implements DocumentLibraryVersion
End Class
Dim ocumentLibraryVersionImplementation1 As New ocumentLibraryVersionImplementation()
Syntax
Public Interface DocumentLibraryVersion
Inherits _IMsoDispObj
public interface DocumentLibraryVersion : _IMsoDispObj
public interface class DocumentLibraryVersion : public _IMsoDispObj
public interface DocumentLibraryVersion implements _IMsoDispObj
public interface DocumentLibraryVersion implements _IMsoDispObj
Remarks
Each DocumentLibraryVersion object is a member of the active document's DocumentLibraryVersions collection.
Each DocumentLibraryVersion object represents one saved version of the active document. When versioning is enabled, a new version is created on the server when the actions listed below occur; additional versions are not created each time the user saves changes to the open document.
Check In.
Save - A new version is created on the server when the user first saves the document after opening it. Additional changes saved while the document is open apply to the same version.
Restore.
Upload.
Use the Modified, ModifiedBy, and Comments properties to return information about a saved version of a shared document.
Use the Open method to open a previous version, or the Restore method to restore a previous version in place of the current version. Use the Delete method to delete a version.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Microsoft.Office.Core Namespace