Conflicts Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應