Worksheet.ProtectContents 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 the contents of the worksheet (the individual cells) are protected.
public:
property bool ProtectContents { bool get(); };
public bool ProtectContents { get; }
member this.ProtectContents : bool
Public ReadOnly Property ProtectContents As Boolean
Property Value
true
if the contents of the sheet are protected; otherwise, false
.