SPListItemVersionCollection methods
The SPListItemVersionCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
DeleteAll | Deletes all of the items in the collection except for the current version. | |
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 a version from the collection based on the specified version ID. | |
GetVersionFromLabel | Returns a version from the collection based on the specified version label. | |
MemberwiseClone | (Inherited from Object.) | |
RecycleAll | Recycles the version collection except for the current version. | |
Restore | Restores the specified version as the current item version based on the specified index in the collection. | |
RestoreByID | Restores the version with the specified version as the current item version based on the specified version ID. | |
RestoreByLabel | Restores the specified version as the current item version based on 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.) |
Top