Export (0) Print
Expand All

SPListItemVersionCollection members

Represents a collection of SPListItemVersion objects.

The SPListItemVersionCollection type exposes the following members.

  Name Description
Public property Count Gets the number of versions in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the version at the specified index in the collection.
Public property ListItem Gets the parent list item of the version collection.
Public property Web Gets the parent website of the version collection.
Top

  Name Description
Public method DeleteAll Deletes all of the items in the collection except for the current version.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetVersionFromID Returns a version from the collection based on the specified version ID.
Public method GetVersionFromLabel Returns a version from the collection based on the specified version label.
Protected method MemberwiseClone (Inherited from Object.)
Public method RecycleAll Recycles the version collection except for the current version.
Public method Restore Restores the specified version as the current item version based on the specified index in the collection.
Public method RestoreByID Restores the version with the specified version as the current item version based on the specified version ID.
Public method RestoreByLabel Restores the specified version as the current item version based on the specified version label.
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)
Top
Show:
© 2014 Microsoft