Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
If the dimensions used to initialize an array do not match the dimensions in the declaration, the compiler cannot infer a data type for the array. For example, the following code causes this error.
' Valid. exampleArray1 is a one-dimensional array of integers.
Dim exampleArray1() = New Integer() {1, 2, 3}
' Not valid.
'Dim exampleArray2(,) = New Integer() {1, 2, 3}
'Dim exampleArray3(,) = New Integer() {}
Error ID: BC36909
See Also
Tasks
How to: Initialize a Multidimensional Array