SPFileVersionCollection Methods

Include Protected Members
Include Inherited Members

The SPFileVersionCollection type exposes the following members.

Methods

  Name Description
Public method Delete Deletes the file version object at the specified index in the collection.
Public method DeleteAll Deletes all the file version objects in the collection.
Public method DeleteAllMinorVersions Deletes all the minor file version objects in the collection.
Public method DeleteByID Removes the file version object with the specified integer ID from the collection.
Public method DeleteByLabel Deletes the file version object with the specified version label.
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 GetObjectData (Inherited from SPAutoSerializingObject.)
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 the file version object with the specified ID.
Public method GetVersionFromLabel Returns the file version object that has the specified version label.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method RecycleAll Recycles all file version objects in the collection.
Public method RecycleAllMinorVersions Recycles all minor file version objects in the collection.
Public method Restore Restores the file version object at the specified index in the collection.
Public method RestoreByID(Int32) Restores the file version object that has the specified ID to the collection.
Public method RestoreByID(Int32, String) Restores the file version object that has the specified version ID to the collection with the specified lock ID.
Public method RestoreByLabel Restores the file version object that has the specified version label.
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPFileVersionCollection Class

Microsoft.SharePoint Namespace