Aracılığıyla paylaş


Worksheet.ProtectionMode Property

Definition

Gets a value that indicates whether user interface-only protection is turned on.

public:
 property bool ProtectionMode { bool get(); };
public bool ProtectionMode { get; }
member this.ProtectionMode : bool
Public ReadOnly Property ProtectionMode As Boolean

Property Value

true if user interface-only protection is turned on; otherwise, false.

Remarks

To turn on user interface protection, use the Protect method with the UserInterfaceOnly argument set to true.

Applies to