Modifying a VB dictionary by ref

When the requirement of modifying data passed to a function, setting the type of the object to a Class will always pass ByRef in visual basic, however, swapping to a “structure” will make such values read-only after setting and the values will be unassignable.

Leave a comment

Your email address will not be published. Required fields are marked *