本文整理汇总了C#中Workbook.ResetVolatileSet方法的典型用法代码示例。如果您正苦于以下问题:C# Workbook.ResetVolatileSet方法的具体用法?C# Workbook.ResetVolatileSet怎么用?C# Workbook.ResetVolatileSet使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Workbook
的用法示例。
在下文中一共展示了Workbook.ResetVolatileSet方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ParseWorkBook
private void ParseWorkBook(XmlTextReader reader, Workbook wb) {
int cellCount = 0;
// To help find and share cells with identical R1C1 representation:
IDictionary<String, Cell> cellParsingCache = new Dictionary<String, Cell>();
while (reader.Read()) {
if (isXMLSS(reader)) {
cellCount += ParseSheets(reader, wb, cellParsingCache);
}
}
foreach (Sheet sheet in wb) {
if (sheet.IsFunctionSheet) {
ScanSheet(sheet, CreateSdfs);
}
}
wb.RebuildSupportGraph();
wb.ResetVolatileSet();
Console.Write("Read XMLSS, {0} cells of which {1} unique ", cellCount, cellParsingCache.Count);
}