ByRef (Visual Basic)
Specifies that an argument is passed in such a way that the called procedure can change the value of a variable underlying the argument in the calling code.
Remarks
The ByRef modifier can be used in these contexts:
Den här webbläsaren stöds inte längre.
Uppgradera till Microsoft Edge och dra nytta av de senaste funktionerna och säkerhetsuppdateringarna, samt teknisk support.
Specifies that an argument is passed in such a way that the called procedure can change the value of a variable underlying the argument in the calling code.
The ByRef modifier can be used in these contexts: