Class RevisionLogCollection
Represents the collection of RevisionLog objects on a shared workbook.
Excel UI: "Review > Share Workbook" and "Review > Track Changes".
Inheritance
RevisionLogCollection
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
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
Methods
Add(RevisionLog)
Adds a revision log to the collection.
Declaration
public RevisionLog Add(RevisionLog log)
Parameters
Returns
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
Clear()
Removes all revision logs from the collection.
Declaration
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<RevisionLog> GetEnumerator()
Returns
Remove(RevisionLog)
Removes the specified revision log.
Declaration
public bool Remove(RevisionLog log)
Parameters
Returns
Implements