Export (0) Print
Expand All

SPListItemVersionCollection Members

Windows SharePoint Services 3

Represents a collection of SPListItemVersion objects.

The SPListItemVersionCollection type exposes the following members.

  NameDescription
Public property Count Gets the number of versions in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the version at the specified index in the collection.
Public property ListItem Gets the parent list item of the version collection.
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)
Public property Web Gets the parent Web site of the version collection.
Top

  NameDescription
Public method DeleteAll Deletes the collection of versions except for the current version.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Retrieves the data required to serialize the object. (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetVersionFromID Returns a version from the collection based on the specified version ID.
Public method GetVersionFromLabel Returns a version from the collection based on the specified version label.
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization Called after the object has been deserialized from the file system cache or the database. (Inherited from SPAutoSerializingObject.)
Public method RecycleAll Recycles the version collection except for the current version.
Public method Restore Restores the specified version as the current item version based on the specified index in the collection.
Public method RestoreByID Restores the specified version as the current item version based on the specified version ID.
Public method RestoreByLabel Restores the specified version as the current item version based on the specified version label.
Public method ToString (Inherited from Object.)
Protected method UpdateParent Causes the containing SPPersistedObject, if one exists, to update its state. (Inherited from SPAutoSerializingObject.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft