Export (0) Print
Expand All

Conflict Interface

Office 2010

Represents a conflicting edit in a co-authored document. The type of a Conflict object is specified by the WdRevisionType enumeration.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

[GuidAttribute("6215E4B1-545A-406E-9824-0A5B5AC8AD21")]
public interface Conflict

Normally, when a document with co-authoring enabled is simultaneously edited, only one co-author can edit a particular range at one time. Microsoft Word 2010 automatically places a lock on the range the moment the co-author begins editing so that other co-authors cannot edit the same range at the same time.

A conflict can occur when a particular range in a document with co-authoring enabled is simultaneously edited before any single co-author obtains an exclusive lock on the range. In a conflict situation, it appears to each co-author that they have an exclusive lock on the range, but their lock is not communicated to the other co-authors. The co-author that saves to the server first will not see the conflict because their version of the document becomes the established version. The co-authors that attempt to save after the first co-author has saved encounter a conflict. The conflict is between the differing versions of the same range.

For example, if one co-author edits the sentence, "The quick brown fox" to read "The fast red fox", and another co-author simultaneously edits the sentence to read, "The speedy white fox" and both edits occur before either co-author obtains an exclusive lock on the paragraph, a conflict occurs. In this case, "fast red" and "speedy white" cannot be reconciled by Word 2010. The first co-author to save their version of the document to the server does not encounter a conflict. When the next co-author attempts to save their version of the document to the server, a conflict occurs and the co-author must choose to resolve the conflict by either accepting or rejecting the changes.

Community Additions

ADD
Show:
© 2014 Microsoft