Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the co-authoring locks in the Bookmark.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
ReadOnly Property Locks As CoAuthLocks
CoAuthLocks Locks { get; }
Property Value
Type: Microsoft.Office.Interop.Word.CoAuthLocks
The co-authoring locks in the Bookmark.
Exceptions
| Exception | Condition |
|---|---|
| COMException | Co-authoring is not enabled in the document that contains the bookmark. |
| MissingMemberException | This property is used in a Word 2007 project. |
Remarks
This property can be used only in co-authoring enabled documents. If you attempt to access this property on a document that is not enabled for co-authoring, you will receive a COMException.
Note
This method appears in IntelliSense in Word 2007 projects that target the .NET Framework 4. However, this property cannot be used in Word 2007 projects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.