通过引用传递的参数同样也不允许。
清单19通过引用传递vs。
获取或设置此静态资源引用传递的键值。
Gets or sets the key value passed by this static resource reference.
严格的标准:只有变量应该通过引用传递。
Strict Standards: Only variables should be passed by reference in...
本地调用并不会通过通信层,所有对象均可以通过引用传递。
Local calls do not go through the communication layer and any objects can be passed by reference.
允许将对变量的引用传递到使用引用或输出参数的方法。
Allows passing references to variables to methods with reference or out parameters.
当通过引用传递时,该类型的指针的指针在堆栈上传递。
When passed by reference, a pointer to a pointer to the type is passed on the stack.
这种语法表示把所有局部变量通过引用传递给lambda函数。
This syntax implies that all local variables will be passed by reference to the lambda function.
描述如何通过值传递多维整数数组以及如何通过引用传递一维数组。
Describes how to pass multidimensional arrays of integers by value and how to pass one-dimensional arrays by reference.
一个按引用传递的数值,标识该四元数的旋转角度(以弧度为单位)。
Angle a number, passed by reference, that identifies the Angle of rotation, in radians, of the quaternion.
只需将对闭包的变量引用传递到reflectionmethod类的构造函数中。
We simply pass the variable reference to the closure into the constructor of the ReflectionMethod class.
上面的例子还显示出,通过引用传递使用变量是允许closure修改变量的方法之一。
As the above example also shows, passing use variables by reference is one way you can allow the closure to modify values.
当MAIL . BOX完成邮件发送后,它删除附件的副本,有效地将引用传递给邮件收件人。
When MAIL.BOX is done routing the mail, it deletes its copy of the attachment, effectively transferring the reference to the mail recipients.
因此,如果启用了按引用传递,则它将应用到应用程序中的所有远程接口,而不只是其中一个子集。
Therefore, if call by reference is enabled, it applies to all of the remote interfaces in the application, not only to a subset of them.
我们可以将按值和按引用传递的变量轻松地混合到 use子句中,并且可以顺利地处理这些变量。
We can mix variables passed by value and by reference easily within the use clause, and they will be handled without any problem.
当使用了XQuery时,连接器将不支持通过引用传递XML结果,因为构造LO b定位器比较困难。
When an XQuery is used, the connector does not support passing the XML result by reference due to difficulties in constructing a LOB locater.
通过引用传递,方法的参数没有被复制到每个远程调用的堆栈中,而这个复制过程可能是代价高的。
By enabling pass by reference, the parameters of the method are not copied to the stack with every remote call, which can be expensive.
很重要的一点是理解传递给MoveToXY的self和其它的参数一样,并且是值传递,而不是引用传递。
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.
尽管您可以传递另一个闭包给它,而不是将其作为一个引用传递给另一个名为addemployee的函数。
Though you can pass another closure to it, instead pass it a reference to another function called addEmployee.
如果线程创建的对象需要在内部执行分配,您必须将对线程本身的引用传递给对象以便在需要时能够调用allocate方法。
If an object created by a thread needs to do allocation internally, you must pass a reference to the thread itself to the object so that the allocate methods can be called when needed.
如果在一个应用程序域或单元中创建RCW,然后将引用传递至另外一个应用程序域或单元,则会使用第一个对象的代理。
If you create an RCW in one application domain or apartment, and then pass a reference to another application domain or apartment, a proxy to the first object will be used.
参数按值传递的话,任何对该参数的修改都不会反射到调用这个方法的程序,使用按引用传递参数的人可能对这一点搞到困惑。
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.
enable-call-by-reference元素通常用于按引用传递参数,而不是按值传递,后者需要对参数做复制。
The enable-call-by-reference element is generally used to pass parameters by reference rather than by value, which requires making a copy of the parameters.
该表达式计算器支持具有“通过值传递”的参数的函数调用,但不支持具有“通过引用传递”的参数、对象、数组、函数和字符串的函数调用。
The expression evaluator supports function calls with By Value arguments but does not support function calls with By Reference arguments, objects, arrays, functions, and strings.
仅当EJB客户机(即servlet)和所调用的 EJB 模块位于相同的类加载器中时,ORB通过引用传递选项才能够带来收益。
The ORB pass by reference option will only provide a benefit when the EJB client (that is, servlet) and invoked EJB module are located within the same classloader.
总的来说,OR B通过引用传递选项基本上将调用的EJB方法作为本地调用对待(甚至对于带远程接口的EJB),并避免必需的对象复制操作。
To summarize, the ORB pass by reference option basically treats the invoked EJB method as a local call (even for EJBs with remote interfaces) and avoids the requisite object copy.
ObjectRequestBroker (ORB)通过引用传递选项确定,在处理EJB请求中涉及的参数对象时应该使用通过引用传递还是通过值传递语义。
The Object Request Broker (ORB) pass by reference option determines if pass by reference or pass by value semantics should be used when handling parameter objects involved in an EJB request.
然而,您必须注意到这些可供选择的方案会将交互方法从按值传递(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.
如果您正在使用EJB组件,并且将它们作为SOAP引擎部署在相同的JVM中本地部署它们,请确保部署它们,这样就可以通过引用传递(passby reference)来调用它们。
If you're using EJB components and deploying them locally within the same JVM as the SOAP engine, then ensure that you deploy them such that they are called using pass by reference.
前面的段落展示如何通过参数和返回值传递信息,引用另一个序列图。
The previous section showed how to reference another sequence diagram by passing information through parameters and return values.
应用推荐