Rename switch NotAsDictionary to Raw

This commit is contained in:
dfinke
2022-05-04 18:33:19 -04:00
parent 0b3b382c4e
commit 4fa34ae257
3 changed files with 13 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
[ValidateNotNullOrEmpty()]
[String]$Password,
[Int[]]$ImportColumns,
[Switch]$NotAsDictionary
[Switch]$Raw
)
end {
$sw = [System.Diagnostics.Stopwatch]::StartNew()
@@ -239,7 +239,7 @@
# $EndColumn = 0
if ($Path) { $stream.close(); $ExcelPackage.Dispose() }
if ($NotAsDictionary) {
if ($Raw) {
foreach ($entry in $xlbook.GetEnumerator()) {
$entry.Value
}