Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Array arguments can be sent to lambda expressions, but the parameter declaration must include the element type.
' Not valid.
' Dim arrayExample1 = Function(arrayPara()) 2
' Valid.
Dim arrayExample2 = Function(arrayPara() As Integer) arrayPara.Length > 0
Dim arrayexample3 = Function(arrayPara As Integer()) arrayPara.Length > 0
Error ID: BC36643
To correct this error
- Specify the type of the elements in the array parameter.