CoAuthLocks.Add(Object, WdLockType) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
CoAuthLockObjet qui représente un verrou ajouté à une plage spécifiée.