CoAuthLocks Object (Word)

A collection of CoAuthLock objects.

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

CoAuthoring.Locks Property

Word Object Model Reference