'Declaration
Property ProtectContents As System.Boolean
'Usage
Dim instance As IWorksheet Dim value As System.Boolean instance.ProtectContents = value value = instance.ProtectContents
System.bool ProtectContents {get; set;}
'Declaration
Property ProtectContents As System.Boolean
'Usage
Dim instance As IWorksheet Dim value As System.Boolean instance.ProtectContents = value value = instance.ProtectContents
System.bool ProtectContents {get; set;}
This property must be set to true for IRange.Locked and IRange.FormulaHidden to have any affect.
The default value of this property is false.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2