CoAuthLocks.Add(Object, WdLockType) Méthode

Définition

Obtient un CoAuthLock objet qui représente un verrou ajouté à une plage spécifiée.

public Microsoft.Office.Interop.Word.CoAuthLock Add (object Range, Microsoft.Office.Interop.Word.WdLockType Type = Microsoft.Office.Interop.Word.WdLockType.wdLockReservation);
abstract member Add : obj * Microsoft.Office.Interop.Word.WdLockType -> Microsoft.Office.Interop.Word.CoAuthLock
Public Function Add (Optional Range As Object, Optional Type As WdLockType = Microsoft.Office.Interop.Word.WdLockType.wdLockReservation) As CoAuthLock

Paramètres

Range
Object

Spécifie la plage de documents verrouillée par l' CoAuthLock objet. Ce paramètre peut être un Paragraph , Column , Cell , Row , T :Microsoft.Office.Interop.Word.table, Range ou un Selection objet.

Type
WdLockType

Spécifie le type de verrou. Le WdLockType spécifié ne peut pas être wdLockEphemeral ou wdLockReservation .

Retours

CoAuthLock

CoAuthLockObjet qui représente un verrou ajouté à une plage spécifiée.

S’applique à