ByRef (Visual Basic)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.


ByRef 修飾詞可用於以下內容:The ByRef modifier can be used in these contexts:

Declare 陳述式Declare Statement

Function 陳述式Function Statement

Sub 陳述式Sub Statement

另請參閱See also