Export (0) Print
Expand All

SPFileVersionCollection members

Represents a collection of SPFileVersion objects.

The SPFileVersionCollection type exposes the following members.

  Name Description
Public property Count Gets the number of file version objects in the collection. (Overrides SPBaseCollection.Count.)
Public property File Gets the parent file object for the collection.
Public property Item Gets the file version object at the specified index in the collection. In C#, this property is the indexer for the SPFileVersionCollection class.
Public property Web Gets the SharePoint site to which the parent file for the collection belongs.
Top

  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 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.)
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.)
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