_Worksheet.ProtectionMode Property

True if user-interface-only protection is turned on. To turn on user interface protection, use the Protect method with the UserInterfaceOnly argument set to True. Read-only Boolean.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property ProtectionMode As Boolean
    Get
'Usage
Dim instance As _Worksheet
Dim value As Boolean

value = instance.ProtectionMode
bool ProtectionMode { get; }

Property Value

Type: System.Boolean

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace