Partager via


CoAuthLocks.Count Property (Word)

Returns a Long that represents the number of locks in the CoAuthLocks collection. Read-only.

Version Information

Version Added: Word 2010

Syntax

expression .Count

expression An expression that returns a CoAuthLocks object.

Example

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

MsgBox "The active document contains " & _ 
    ActiveDocument.CoAuthoring.Locks.Count & " locks."

See Also

Concepts

CoAuthLocks Object

CoAuthLocks Object Members