on the additemtopurchaseorder method, a combination of numbered and named parameters is used to refer to the parameter values.
在additemtopurchaseorder方法上,同时使用了有编号和有名称的参数来引用参数值。
note that on the additemtopurchaseorder method, named parameters are used to specify which variable of the object po should be used as the parameter value.
注意,在additemtopurchaseorder方法上,使用了有名称的参数来指定应该将po对象的哪个变量用作参数值。
xsl:with-param> can be used to pass any number of named parameters to the matching template.
可以使用 xsl:with-param>来将任意数量的已命名的参数传递到匹配的模板。
specify positional parameters and named parameters for the attribute.
指定属性的位置参数和具名参数。
services are called with named parameters using the active: uri scheme.the active scheme takes the form
使用active:uri模式可以调用带有命名参数的服务。
the system returns true if named parameters are supported. for example
如果支持命名参数,则系统返回true。
however, if named parameters are given mutable default values, the parameters can act as persistent memories of previous invocations.
然而,如果赋予了命名参数可变的缺省值,那么参数就可以,用作以前调用的持久存储器。
named parameters without parenthesis
没有圆括号的命名参数
in this case you are passing in two named parameters to the constructor of httprequest.
在本例中,您将两个命名参数传递给 httprequest的构造函数。
named parameters in a jdbc callable statement
jdbc可调用语句中的命名参数
to achieve this goal even further, the grammar of the language was tweaked to allow us to use named parameters without the surrounding parenthesis.
为了更进一步实现这个目标,groovy的语法做了通融,允许我们使用没有圆括号括起来的命名参数。
named parameters are especially useful for calling stored procedures that have many arguments and some of those arguments have default values.
在调用具有许多参数,而且其中一些参数有默认值的存储过程时,命名参数特别有用。
finally, another constraint on named parameters is that once you provide a name for a parameter in a method invocation, then the rest of the parameters appearing after it must also be named.
最后,还有一个对命名参数的约束就是一旦你为一个方法掉哦那个指定了参数名称,那么剩下的在这个参数之后的所有参数都必须是命名参数。
first of all, in groovy, named parameters look like this
首先,在groovy中命名参数看起来是这样的
definition of parameterized queries that can take parameters as an ordered list, referred to by index numbers, or as named parameters referred to by name.
定义参数化的查询,这种查询可以以有序列表形式接收参数(按索引号引用参数),也可以采用按名称引用的命名参数。