你是按值传递的容器,这意味着你将复制为它获得通过。
You're passing the container by value, which means you'll be making a copy as it gets passed.
参数按值传递的话,任何对该参数的修改都不会反射到调用这个方法的程序,使用按引用传递参数的人可能对这一点搞到困惑。
With pass by value, any change to the parameter is not reflected in the calling routine. Those who have used pass by reference will probably find this confusing.
例如,可以配置一个MessageFilter中介原语,以根据某个特定XPath表达式的值(是否为真)来按多种路径之一传递消息。
For example, you can configure a message Filter mediation primitive to route messages down one of multiple paths, depending on whether a particular XPath expression holds true.
然而,您必须注意到这些可供选择的方案会将交互方法从按值传递(pass - by - value)改变为按引用传递(pass - by - reference)。
However, you must be aware that these alternatives change the semantics of the interaction from pass-by-value to pass-by-reference.
我们可以将按值和按引用传递的变量轻松地混合到 use子句中,并且可以顺利地处理这些变量。
We can mix variables passed by value and by reference easily within the use clause, and they will be handled without any problem.
这似乎也很合理,因为我们是按值进行的传递,在超出函数的作用范围后,我们不需要该变量。
This is also make sense since the object was passed by value and its data will not be needed outside the function scope.
重要事项对于引用类型,按值传递参数会得到对所传递对象的引用的副本。
For reference types, if you pass a parameter by value, it results in a copy of the reference to an object being passed.
如果传递了多个替换数组,它们将被按顺序依次处理,后面的数组将覆盖之前的值。
If several arrays are passed for replacement, they will be processed in order, the later array overwriting the previous values.
通常按值传递参数,除非希望过程能够更改其在调用代码中的值。
Normally you pass a parameter by value, unless you want the procedure to be able to change its value in the calling code.
指定按如下方式传递参数:被调用的过程或属性不能更改调用它的代码中参数下面的变量的值。
Specifies that an argument is passed in such a way that the called procedure or property cannot change the value of a variable underlying the argument in the calling code.
指定按如下方式传递参数:被调用的过程或属性不能更改调用它的代码中参数下面的变量的值。
Specifies that an argument is passed in such a way that the called procedure or property cannot change the value of a variable underlying the argument in the calling code.
应用推荐