Partager via


CoAuthLocks Object (Word)

A collection of CoAuthLock objects.

Version Information

Version Added: Word 2010

Remarks

Use the Locks property to return the CoAuthLocks collection.

Example

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

MsgBox ActiveDocument.CoAuthoring.Locks.Count

See Also

Concepts

CoAuthoring.Locks Property

Word Object Model Reference

CoAuthLocks Object Members