ChartSheetBase.ProtectSelection Property
Gets or sets a value that indicates whether Microsoft.Office.Tools.Excel.ChartSheetBase elements cannot be selected.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
Syntax
'Declaration
Public Property ProtectSelection As Boolean
Get
Set
public bool ProtectSelection { get; set; }
Property Value
Type: System.Boolean
true if Microsoft.Office.Tools.Excel.ChartSheetBase elements cannot be selected.
Remarks
When this property is true, shapes cannot be added to the Microsoft.Office.Tools.Excel.ChartSheetBase.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.