Worksheet.ProtectContents Property

Definition

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.

Applies to