Error message
You used the Assigns keyword in a Method declaration for a parameter other than the last parameter. If there is only one parameter, the use of Assigns is permitted.
Examples
The following declaration uses the Assigns keyword for the first parameter.
See Also
Assigns keyword.