如何更改数组的大小?

时间:2012-08-02 08:28:31

标签: .net arrays

我有一个已定义的数组:

    Private shapePoints(picWidth, picHeight) As Integer

我需要在代码中更改此数组的大小。

我该怎么做?

1 个答案:

答案 0 :(得分:2)

ReDim shapePoints(picWidth, picHeight)