对于不具备Remote 介面的物件,是采用传值(passed by value) 的方式,也就是说,使用序列化机制来传递物件的完整副本;不能被 序列化的物件,本身不能被传给远端方法。
基于12个网页-相关网页
a pointer passed by value 另外也可以传递指针
Structure passed by value 结构按值传送
passed by value-result 按值–成果传递
We can mix variables passed by value and by reference easily within the use clause, and they will be handled without any problem.
我们可以将按值和按引用传递的变量轻松地混合到 use 子句中,并且可以顺利地处理这些变量。
It is important to understand that the self that is passed in to MoveToXY is a parameter like any other, and parameters are passed by value, not by reference.
很重要的一点是理解传递给MoveToXY的self和其它的参数一样,并且是值传递,而不是引用传递。
The parameter array must be passed by value.
参数数组必须通过值传递。
应用推荐