次の方法で共有


CoAuthoring Object (Word)

Provides the primary entry point to the co-authoring object model.

Version Information

Version Added: Word 2010

Remarks

The CoAuthoring object provides information about co-authoring at the document level. For example, the CoAuthoring object can provide information about whether there are any locks in the document, which users have current locks in the document, or whether or not updates to the document content is available from the server. Use the CoAuthoring property to return the CoAuthoring object.

Example

The following code example gets the number of locks in the active document.

Sub CountLocks() 
Dim i As Integer 
 
i = ActiveDocument.CoAuthoring.Locks.Count 
 
MsgBox i 
 
End Sub 

See Also

Concepts

CoAuthoring Object Members

Word Object Model Reference