Partager via


Shape.Locked Property

True if the object is locked, False if the object can be modified when the sheet is protected. Read/write Boolean.

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

Syntax

'Declaration
Property Locked As Boolean
    Get
    Set
'Usage
Dim instance As Shape
Dim value As Boolean

value = instance.Locked

instance.Locked = value
bool Locked { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

Shape Interface

Shape Members

Microsoft.Office.Interop.Excel Namespace