Class
OfficeChange
OfficeIMO.Diff
One change between two documents.
Inheritance
- object
- OfficeChange
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property OfficeChangeSet.Changes
Accepted by parameters 1
- Constructor OfficeChangeSet.OfficeChangeSet
Constructors
public OfficeChange(int id, OfficeChangeKind kind, string? oldText, string? newText, OfficeChangeAnchor? oldAnchor, OfficeChangeAnchor? newAnchor) #Creates a change.
Parameters
- id int
- One-based identifier, unique within its OfficeChangeSet.
- kind OfficeIMO.Diff.OfficeChangeKind
- Change kind.
- oldText string?
- Removed text; empty for an insertion.
- newText string?
- Added text; empty for a deletion.
- oldAnchor OfficeIMO.Diff.OfficeChangeAnchor?
- Position in the old document; for an insertion, the insertion point.
- newAnchor OfficeIMO.Diff.OfficeChangeAnchor?
- Position in the new document; for a deletion, the point where the text used to be.