• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class RevisionLog

Represents a single revision log: a set of changes made by one user in one editing session of a shared workbook. Each log corresponds to one xl/revisions/{N}.xml part and one header entry in xl/revisions/revisionHeaders.xml. Excel UI: "Review > Track Changes > Highlight Changes".

Inheritance
object
RevisionLog
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet.Revisions
Assembly: DRIT.Spreadsheet.dll
Syntax
public class RevisionLog

Constructors

RevisionLog()

Represents a single revision log: a set of changes made by one user in one editing session of a shared workbook. Each log corresponds to one xl/revisions/{N}.xml part and one header entry in xl/revisions/revisionHeaders.xml. Excel UI: "Review > Track Changes > Highlight Changes".

Declaration
public RevisionLog()

Properties

DateTime

Specifies the date and time the revision log was recorded.

Declaration
public DateTime DateTime { get; set; }
Property Value
Type Description
DateTime

Id

Specifies the GUID that uniquely identifies this revision log.

Declaration
public Guid Id { get; set; }
Property Value
Type Description
Guid

MaxRevisionId

Specifies the maximum revision identifier covered by this log, if any.

Declaration
public uint? MaxRevisionId { get; set; }
Property Value
Type Description
uint?

MaxSheetId

Specifies the maximum sheet identifier in use at the time the log was recorded.

Declaration
public uint MaxSheetId { get; set; }
Property Value
Type Description
uint

MinRevisionId

Specifies the minimum revision identifier covered by this log, if any.

Declaration
public uint? MinRevisionId { get; set; }
Property Value
Type Description
uint?

Revisions

Gets the collection of revisions recorded in this log.

Declaration
public RevisionCollection Revisions { get; }
Property Value
Type Description
RevisionCollection

UserName

Specifies the name of the user who made the changes.

Declaration
public string UserName { get; set; }
Property Value
Type Description
string

Methods

Add(Revision)

Adds a revision to this log.

Declaration
public void Add(Revision revision)
Parameters
Type Name Description
Revision revision

The revision to add.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX