Partager via


Protection Interface

Represents the various types of protection options available for a worksheet.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00024467-0000-0000-C000-000000000046")> _
Public Interface Protection
'Usage
Dim instance As Protection
[InterfaceTypeAttribute()]
[GuidAttribute("00024467-0000-0000-C000-000000000046")]
public interface Protection

Remarks

Use the Protection property of the Worksheet object to return a Protection object.

Once a Protection object is returned, you can use the following properties to set or return protection options:

See Also

Reference

Protection Members

Microsoft.Office.Interop.Excel Namespace