Share via


IToolbar.Protection Property

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

Syntax

'Declaration
Property Protection As XlToolbarProtection
    Get
    Set
'Usage
Dim instance As IToolbar
Dim value As XlToolbarProtection

value = instance.Protection

instance.Protection = value
XlToolbarProtection Protection { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlToolbarProtection

See Also

Reference

IToolbar Interface

IToolbar Members

Microsoft.Office.Interop.Excel Namespace