編輯

共用方式為


Conflicts Interface

Definition

A collection of Conflict objects that represents the conflicts in a document. The type of a Conflict object is specified by the WdRevisionType enumeration.

public interface class Conflicts : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("C2B83A65-B061-4469-83B6-8877437CB8A0")]
public interface Conflicts : System.Collections.IEnumerable
type Conflicts = interface
    interface IEnumerable
Public Interface Conflicts
Implements IEnumerable
Attributes
Implements

Remarks

Use the Conflicts property to return the Conflicts collection for a document. Use Conflicts(Index), where Index is the conflict index number, to return a single Conflict object.

Properties

Application

Gets an Application object that represents the Microsoft Word application.

Count

Returns the number of items in the Conflicts collection.

Creator

Gets a 32-bit integer that indicates the application in which the specified object was created.

Item[Int32]

Returns an individual Conflicts object in a collection.

Parent

Gets an Object that represents the parent object of the specified Conflicts object.

Methods

AcceptAll()

Accepts all conflict changes, removes the conflicts, and merges the changes into the server copy of the document.

GetEnumerator()
RejectAll()

Rejects all of the user's changes and retains the server copy of the document.

Applies to