Compartilhar via


Bookmark.Locks Property

Definition

Gets the co-authoring locks in the Bookmark.

public:
 property Microsoft::Office::Interop::Word::CoAuthLocks ^ Locks { Microsoft::Office::Interop::Word::CoAuthLocks ^ get(); };
public Microsoft.Office.Interop.Word.CoAuthLocks Locks { get; }
member this.Locks : Microsoft.Office.Interop.Word.CoAuthLocks
Public ReadOnly Property Locks As CoAuthLocks

Property Value

The co-authoring locks in the Bookmark.

Exceptions

Co-authoring is not enabled in the document that contains the bookmark.

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.

Applies to