SPListItemVersionCollection Methods
The SPListItemVersionCollection type exposes the following members.
| Name | Description | |
|---|---|---|
|
DeleteAll | Deletes the collection of versions 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.) |
|
GetObjectData | (Inherited from SPAutoSerializingObject.) |
|
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.) |
|
OnDeserialization | (Inherited from SPAutoSerializingObject.) |
|
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 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.) |
|
UpdateParent | (Inherited from SPAutoSerializingObject.) |
| Name | Description | |
|---|---|---|
|
ICollection.CopyTo | Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.) |