X.sheetProtection Field
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the x:sheetProtection XML elements.
C#
public static readonly System.Xml.Linq.XName sheetProtection;
staticval mutable sheetProtection : System.Xml.Linq.XName
Public Shared ReadOnly sheetProtection As XName
As an XML element, it:
- has the following parent XML elements: chartsheet, dialogsheet, worksheet, macrosheet.
- has the following XML attributes: algorithmName, autoFilter, content, deleteColumns, deleteRows, formatCells, formatColumns, formatRows, hashValue, insertColumns, insertHyperlinks, insertRows, objects, password, pivotTables, saltValue, scenarios, selectLockedCells, selectUnlockedCells, sheet, sort, spinCount.
- corresponds to the following strongly-typed classes: ChartSheetProtection, SheetProtection.
Product | Versions |
---|---|
DocumentFormat.OpenXml | 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1 |