編輯

共用方式為


DisplayFormat.Locked Property

Definition

Gets a value that indicates if the associated Range object is locked as it is displayed in the current user interface.

public:
 property System::Object ^ Locked { System::Object ^ get(); };
public object Locked { get; }
Public ReadOnly Property Locked As Object

Property Value

Indicates if the associated Range object is locked as it is displayed in the current user interface.

Remarks

Read-only.

Returns true if the range is locked, false if the range can be modified when the sheet is protected, or a null reference (Nothing in Visual Basic) if the range contains both locked and unlocked cells.

Applies to