Chart.ProtectData Property (2007 System)
Gets or sets a value that indicates whether modification of series formulas is prevented.
Namespace: Microsoft.Office.Tools.Excel
Assembly: Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)
Syntax
'Declaration
Public Property ProtectData As Boolean
'Usage
Dim instance As Chart
Dim value As Boolean
value = instance.ProtectData
instance.ProtectData = value
public bool ProtectData { get; set; }
public:
property bool ProtectData {
bool get ();
void set (bool value);
}
public function get ProtectData () : boolean
public function set ProtectData (value : boolean)
Property Value
Type: System.Boolean
true if series formulas cannot be modified by the user; otherwise, false.
.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.