Worksheet.ProtectionMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.