SPFileVersion Members

Include Protected Members
Include Inherited Members

Represents a version of an SPFile object.

The SPFileVersion type exposes the following members.

Properties

  Name Description
Public property CheckInComment Gets the latest check-in comment for the file before it became a version.
Public property Created Gets the creation date and time for the file version.
Public property CreatedBy Gets the SPUser object that represents the creator of the file version.
Public property File Gets the parent file object for the version.
Public property ID Gets the internal identifier for the file version.
Public property IsCurrentVersion Gets a Boolean value that indicates whether the file version is the current version of the file.
Public property Level Gets the level of publication for the file version.
Public property Properties Gets metadata for the file version.
Public property Size Gets the size of the file version in bytes.
Public property Url Gets the relative URL of the file version based on the URL for the site or subsite.
Public property VersionLabel Gets the version as a string.

Top

Methods

  Name Description
Public method Delete Deletes the file version.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetLimitedWebPartManager Returns the WebPartManager object that is associated with this version of the Web Part Page.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OpenBinary Returns a byte array that contains the file version.
Public method OpenBinaryStream Opens the file as a stream.
Public method Recycle Sends the file version to the recycle bin.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPFileVersion Class

Microsoft.SharePoint Namespace