CoAuthLocks.Add(Object, WdLockType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a CoAuthLock object that represents a lock added to a specified range.
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
Parameters
- Range
- Object
Specifies the document range locked by the CoAuthLock object. This parameter may be a Paragraph, Column, Cell, Row, T:Microsoft.Office.Interop.Word.Table, Range, or Selection object.
- Type
- WdLockType
Specifies the type of lock. The WdLockType specified can only be wdLockEphemeral or wdLockReservation.
Returns
A CoAuthLock object that represents a lock added to a specified range.
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per