_Worksheet.Protection Property

Returns a Protection object that represents the protection options of the worksheet.

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

Syntax

'Declaration
ReadOnly Property Protection As Protection
    Get
'Usage
Dim instance As _Worksheet
Dim value As Protection

value = instance.Protection
Protection Protection { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Protection

See Also

Reference

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace