編輯

共用方式為


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
type CoAuthLock = interface
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

Gets an Application object that represents the Microsoft Word application.

Creator

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

HeaderFooter

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

Owner

Gets the CoAuthor that owns the specified lock.

Parent

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

Range

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

Type

Gets a WdLockType constant that specifies the lock type.

Methods

Unlock()

Unlocks the specified lock.

Applies to