返回参数加一,就是这样。
返回参数应该为空,除非在函数里。
Return's parameter should be blank except inside a function.
第二,如清单4所示,调用的方法也可以拥有返回参数。
Second, as Listing 4 shows, the invoked method can also have a return parameter.
清单17包含一系列项目,作为Vector数据类型,它是返回参数。
Listing 17 contains a list of items as a Vector data type, which is the return parameter.
一个聚合可以有多个参数,这就是为什么要以数组的形式返回参数。
An aggregation can have multiple parameters, which is why this is returned as an array.
要注意,语言类型返回参数不翻译用户输入的内容;它翻译标准标签或与此内容相关的UI。
It is important to note that the language type return parameter doesn’t translate the user-contributed content; however, it does translate the standard labels or UI associated with this content.
当然,这个输入参数包含了来自于原始请求者的输入消息或负载,而返回参数则包含了来自于提供者的响应。
Of course, the input parameter contains the input message, or payload, from the original requestor, while the returned parameter contains the response from the provider.
例如,toUpper服务带有一个叫做operand的参数,并且返回参数uri所表示的资源的大写形式。
For example, the toUpper service takes a single parameter named operand and returns the upper case transformation of the resource identified by the URI supplied as the argument.
添加另外一种方法,并将其命名为parse_line,其两个输入参数为—line和argv—以及一个int的返回参数(见于图5)。
Add another method, and name it parse_line, with two input parameters - line and argv - along with a return parameter with int as the type. (see Figure 5).
客户机则将返回值和输出参数解包,然后继续处理。
The client unpacks the return value and out parameters, then continues processing.
不要使用定制类型作为参数或返回值。
它们必须是私有的,不能返回值,不能有输出参数。
They must be private, cannot return a value, and cannot have out parameters.
我们可以使用参数绑定来绑定方法参数,返回类型和异常,以及我们希望的目标。
We can use argument binding to bind method parameters, return types and exceptions as well as targets if we wish.
方法的返回类型在参数列表的最后出现。
方法参数和返回类型必须是可序列化的。
The method parameters and return types must be serializable.
甚至可以更改参数和返回类型。
联邦存储过程也可以有输入参数,并返回至多一个结果集。
Federated stored procedures may have input parameters and can return up to one result set.
另外,如果一个资源表示需要被返回,在回复的消息头部中会申明一个返回队列参数。
In addition, if a resource representation should be returned, a return queue parameter is specified in the header.
第三个参数是返回的项的个数。
这将确定需要传送的参数和应该返回的数据。
This determines which parameters you need to pass in and what the return should be.
查询是一种操作,可以有输入参数,返回一个结果集。
Query is an operation that may have input parameters and that returns a result set.
这些连接参数指示工厂返回的连接的性质。
These connection parameters dictate the nature of the connections returned from the factory.
该资产类可作为响应由资源方法返回,也可以参数的形式被传递。
This asset class is returned by a resource method as a response or can be passed in as a parameter.
服务需要从外部客户端接收输入参数,并将输出参数返回到它,同时在WSDL 中对此进行定义。
The service needs to receive input parameters from the external client and return output parameters to it and define this in WSDL.
错误代码和消息被作为OUT参数返回给调用者。
The error code and message are returned to the caller as OUT parameters.
SQL可以有输入参数,可以返回结果集。
The SQL could have input parameters and could return result sets.
服务器也必须为在响应客户机时使用的返回值和参数执行相同操作。
The server must do the same for the return value and the parameters that will be used in the response to the client.
构造函数没有参数,并且返回的类型实例中的所有属性都为空。
The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.
务必知道,服务接口的方法参数、返回类型和异常必须符合JAX - WS和EJB规范。
It is important to know that the service interface's method arguments, return types, and exceptions must conform to JAX-WS and EJB specifications.
查询结果在消息中返回;可以在一个传入参数中指定要返回的结果数量。
The query results are returned in a message; the maximum number of results to be returned can be specified in an inbound parameter.
应用推荐