_Worksheet.ProtectContents Property

Definition

True if the contents of the sheet are protected. For a chart, this protects the entire chart. For a worksheet, this protects the individual cells. Read-only Boolean.

public:
 property bool ProtectContents { bool get(); };
public bool ProtectContents { get; }
Public ReadOnly Property ProtectContents As Boolean

Property Value

Applies to