CoAuthoring 接口

定义

提供共同创作对象模型的主要入口点。Provides the primary entry point to the co-authoring object model.

public interface class CoAuthoring
[System.Runtime.InteropServices.Guid("65DF9F31-B1E3-4651-87E8-51D55F302161")]
public interface CoAuthoring
type CoAuthoring = interface
Public Interface CoAuthoring
属性

注解

CoAuthoring 对象提供有关文档级共同创作的信息。The CoAuthoring object provides information about co-authoring at the document level. 例如,CoAuthoring 对象可以提供以下相关信息:文档中是否存在锁,哪些用户当前在文档中具有锁,是否可从服务器更新文档内容。For example, the CoAuthoring object can provide information about whether there are any locks in the document, which users have current locks on the document, or whether or not updates to the document content is available from the server. 使用 Microsoft.Office.Interop.Word.Document.CoAuthoring 属性返回合著对象。Use the Microsoft.Office.Interop.Word.Document.CoAuthoring property to return the CoAuthoring object.

属性

Application

获取 Application 表示 Microsoft Word 应用程序的对象。Gets an Application object that represents the Microsoft Word application.

Authors

获取 CoAuthors 表示当前正在编辑文档的所有共同作者的集合。Gets a CoAuthors collection that represents all the co-authors currently editing the document.

CanMerge

获取文档是否可以自动合并。Gets whether the document can be auto-merged.

CanShare

获取此文档是否可以共同创作。Gets whether this document can be co-authored.

Conflicts

获取一个 Conflicts 集合,该集合代表文档中的所有冲突。Gets a Conflicts collection that represents all the conflicts in a document.

Creator

获取一个32位整数,该整数指示在其中创建指定对象的应用程序。Gets a 32-bit integer that indicates the application in which the specified object was created.

Locks

获取 CoAuthLocks 表示文档中的锁的集合。Gets a CoAuthLocks collection that represents the locks in the document.

Me

获取 CoAuthor 表示当前用户的对象。Gets a CoAuthor object that represents the current user.

Parent

获取一个 Object 代表指定对象的父对象的 CoAuthoringGets an Object that represents the parent object of the specified CoAuthoring object.

PendingUpdates

获取文档是否具有尚未接受的挂起更新。Gets whether the document has pending updates that have not been accepted.

Updates

获取一个 CoAuthUpdates 集合,该集合代表文档中所有可用的更新。Gets a CoAuthUpdates collection that represents all the updates available to the document.

适用于