通常按值传递参数,除非希望过程能够更改其在调用代码中的值。
Normally you pass a parameter by value, unless you want the procedure to be able to change its value in the calling code.
重要事项对于引用类型,按值传递参数会得到对所传递对象的引用的副本。
For reference types, if you pass a parameter by value, it results in a copy of the reference to an object being passed.
当将这些值作为参数传递时,请确保它们是格式良好的XML文档。
While passing the values as a parameter, make sure that the documents are well formed XML documents.
应用推荐