CoAuthLock CoAuthLock CoAuthLock Interface

Definition

Represents a lock within the document. The CoAuthLock object is a member of the CoAuthLocks collection.

public interface class CoAuthLock
[System.Runtime.InteropServices.Guid("99755F80-FE96-4F7D-B636-B8E800E54F44")]
public interface CoAuthLock
Public Interface CoAuthLock
Attributes

Remarks

Read-only. Use Locks(index), where index is the index number, to return a CoAuthLock object. When adding a CoAuthLock object, use the WdLockType enumeration to specify the type of lock.

Properties

Application Application Application

Gets an Application object that represents the Microsoft Word application.

Creator Creator Creator

Gets a 32-bit integer that indicates the application in which the specified object was created.

HeaderFooter HeaderFooter HeaderFooter

Gets whether the lock is the header-footer lock for the document.

Owner Owner Owner

Gets the CoAuthor that owns the specified lock.

Parent Parent Parent

Gets an Object that represents the parent object of the specified CoAuthLock object.

Range Range Range

Gets a Range object that represents the portion of a document that is contained in the specified object.

Type Type Type

Gets a WdLockType constant that specifies the lock type.

Methods

Unlock() Unlock() Unlock()

Unlocks the specified lock.

Applies to