DocumentLibraryVersion members (Office)
The DocumentLibraryVersion object represents a single saved version of a shared document which has versioning enabled and which is stored in a document library on the server. Each DocumentLibraryVersion object is a member of the active document's DocumentLibraryVersions collection.
Methods
Name | Description |
---|---|
Delete | Removes a document library version from the DocumentLibraryVersions collection. |
Open | Opens the specified version of the shared document from the DocumentLibraryVersions collection in read-only mode. |
Restore | Restores a previous saved version of a shared document from the DocumentLibraryVersions collection. |
Properties
Name | Description |
---|---|
Application | Gets an Application object that represents the container application for the DocumentLibraryVersion object (you can use this property with an Automation object to return that object's container application). Read-only. |
Comments | Gets any optional comments associated with the specified version of the shared document. Read-only. |
Creator | Gets a 32-bit integer that indicates the application in which the DocumentLibraryVersion object was created. Read-only. |
Index | Gets a Long representing the index number for a DocumentLibraryVersion object in the collection. Read-only. |
Modified | Gets the date and time at which the specified version of the shared document was last saved to the server. Read-only. |
ModifiedBy | Gets the name of the user who last saved the specified version of the shared document to the server. Read-only. |
Parent | Gets the Parent object for the DocumentLibraryVersion object. Read-only. |
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.