An Assigns Parameter cannot have a Default Value Error

You specified a default value for a parameter that used the Assigns keyword. This is not valid.


Example

The following method declaration is not permitted.

Sub theVolume(a As Integer, b As Integer, Assigns c As Integer=10)

You must remove the assignment statement.


See Also

Assigns keyword.