“ReDim”Preserve 操作数不能为 Nothing

更新:2007 年 11 月

ReDim 语句试图使用 Preserve 关键字来更改数组的非最后维,但没有为其操作数提供有效值。

更正此错误

  • 将 Preserve 操作数更改为有效值。

请参见

概念

Visual Basic 中的数组概述

Visual Basic 中的多维数组

参考

ReDim 语句 (Visual Basic)

Dim 语句 (Visual Basic)

Preserve