📜  忽略警告 openxml - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:45.999000             🧑  作者: Mango

代码示例1
IgnoredErrors ignoredErrors = new IgnoredErrors();
                IgnoredError ignoredError = new IgnoredError()
                {
                    SequenceOfReferences = new ListValue { InnerText = "A:Z" },
                    NumberStoredAsText = true
                };
                ignoredErrors.Append(ignoredError);
                worksheetPart.Worksheet.Append(ignoredErrors);
                sheets.Append(sheet);