单项选择题

已知在“通用”代码有以下语句:
DimA()AsInteger
则,在某一事件代码中使用()是正确的。

A.ReDimA(30,4)
B.ReDimA(4)AsString
C.ReDimA(100)
D.ReDimA()