SPFileVersionCollection members
Represents a collection of SPFileVersion objects.
The SPFileVersionCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of file version objects in the collection. (Overrides SPBaseCollection.Count.) |
![]() |
File | Gets the parent file object for the collection. |
![]() |
Item | Gets the file version object at the specified index in the collection. In C#, this property is the indexer for the SPFileVersionCollection class. |
![]() |
Web | Gets the SharePoint site to which the parent file for the collection belongs. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Delete | Deletes the file version object at the specified index in the collection. |
![]() |
DeleteAll | Deletes all the file version objects in the collection. |
![]() |
DeleteAllMinorVersions | Deletes all the minor file version objects in the collection. |
![]() |
DeleteByID | Removes the file version object with the specified integer ID from the collection. |
![]() |
DeleteByLabel | Deletes the file version object with the specified version label. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetEnumerator | Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetTypedEnumerator<T> | Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.) |
![]() |
GetVersionFromID | Returns the file version object with the specified ID. |
![]() |
GetVersionFromLabel | Returns the file version object that has the specified version label. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
RecycleAll | Recycles all file version objects in the collection. |
![]() |
RecycleAllMinorVersions | Recycles all minor file version objects in the collection. |
![]() |
Restore | Restores the file version object at the specified index in the collection. |
![]() |
RestoreByID(Int32) | Restores the file version object that has the specified ID to the collection. |
![]() |
RestoreByID(Int32, String) | Restores the file version object that has the specified version ID to the collection with the specified lock ID. |
![]() |
RestoreByLabel | Restores the file version object that has the specified version label. |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
![]() ![]() |
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.IsSynchronized | Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.) |
![]() ![]() |
ICollection.SyncRoot | Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.) |
Top