Dela via


XmlMappedRange.Locked Property

Gets or sets a value that indicates whether the XmlMappedRange control is locked.

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

Syntax

'Declaration
Property Locked As Object
    Get
    Set
Object Locked { get; set; }

Property Value

Type: System.Object
true if the XmlMappedRange control is locked; false if the XmlMappedRange control can be modified when the sheet is protected; nulla null reference (Nothing in Visual Basic) if the XmlMappedRange control contains both locked and unlocked cells.

.NET Framework Security

See Also

Reference

XmlMappedRange Interface

Microsoft.Office.Tools.Excel Namespace