SPFileVersionCollection Members
Include Protected Members
Include Inherited 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. | |
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) | |
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 | Deletes 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.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.) | |
GetType | (Inherited from Object.) | |
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.) | |
OnDeserialization | Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.) | |
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 | Restores the file version object that has the specified integer ID to the collection. | |
RestoreByLabel | Restores the file version object that has the specified version label. | |
ToString | (Inherited from Object.) | |
UpdateParent | Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | (Inherited from SPBaseCollection.) | |
IEnumerable.GetEnumerator | (Inherited from SPBaseCollection.) | |
ICollection.IsSynchronized | (Inherited from SPBaseCollection.) | |
ICollection.SyncRoot | (Inherited from SPBaseCollection.) |
Top