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

Class RevisionLogCollection

Represents the collection of RevisionLog objects on a shared workbook. Excel UI: "Review > Share Workbook" and "Review > Track Changes".

Inheritance
object
RevisionLogCollection
Implements
IEnumerable<RevisionLog>
IEnumerable
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 RevisionLogCollection : IEnumerable<RevisionLog>, IEnumerable

Properties

Count

Gets the number of revision logs in the collection.

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Gets the revision log at the specified index.

Declaration
public RevisionLog this[int index] { get; }
Parameters
Type Name Description
int index
Property Value
Type Description
RevisionLog

Methods

Add(RevisionLog)

Adds a revision log to the collection.

Declaration
public RevisionLog Add(RevisionLog log)
Parameters
Type Name Description
RevisionLog log
Returns
Type Description
RevisionLog

Add(string)

Creates and adds a new, empty revision log.

Declaration
public RevisionLog Add(string userName)
Parameters
Type Name Description
string userName

The user name to record on the log.

Returns
Type Description
RevisionLog

Clear()

Removes all revision logs from the collection.

Declaration
public void Clear()

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public IEnumerator<RevisionLog> GetEnumerator()
Returns
Type Description
IEnumerator<RevisionLog>

Remove(RevisionLog)

Removes the specified revision log.

Declaration
public bool Remove(RevisionLog log)
Parameters
Type Name Description
RevisionLog log
Returns
Type Description
bool

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

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

Generated by DocFX