将个人姓名定义为字符串参数。
此方法接受一个用户角色名的字符串参数。
在后面的小节中我将谈到查询字符串参数的具体作用。
I will cover the specific roles of the query string parameters in future sections.
unid是在查询字符串参数unid中隐式指定的。
The unid is implicitly specified when there is a querystring parameter unid.
可以通过查询字符串参数来指定要查看的该类别的产品。
The category's products to view would be specified by a querystring parameter.
该方法具有一个使用引号括起来的字符串参数和一个代码块。
The method takes a string parameter, enclosed in quotes, and a code block.
由于XML可以表示为字符串,所以将数据表示为字符串参数。
The data is represented as a string parameter, since XML can be represented as a string.
修改getMsg控制器动作以获取字符串参数并返回字符串值。
Modify the getMsg controller action to take a string parameter and return a string value.
例如,要将条目数目改为 100,添加查询字符串参数num=100 。
To change the number of entries to 100 (for example), add the query string parameter num=100.
RenameGroup方法使用两个字符串参数:组的原有名称和新名称。
The RenameGroup method takes two string arguments: the old name and new name of the group.
这个函数接受一个字符串参数(该域的原始值),并返回该值的一个屏蔽版本。
This function accepts a string as an argument (the original value of the field), and returns a masked version of the value.
在这里,通过使用查询字符串参数,能够更灵活地寻找注解,同时不影响可读性。
In this case, using a query string argument might provide a more flexible means of finding annotations without removing the readability.
每一个声明实际上都调用了一个名为Value的方法,它接受一个字符串参数。
Each declaration is actually calling a method named Value that takes a string argument.
在此例中,help选项不需要任何参数,但是file选项需要一个字符串参数。
In this case, the help option doesn't require any arguments, but the file option requires a string argument.
其中一个没有参数,另外一个接受整型id值,还有一个同时接收整型和字符串参数。
One of them takes no arguments, another one takes an Int ID value, and another one takes both an Int and String.
如果没有发现那样的方法,则该代码搜索带字符串参数的一个public构造函数。
If no such method is found, then the code searches for a public constructor that takes a string.
在我们继续之前,有必要注意一下带有三个字符串参数的XSLTtranslate函数。
Before we go on, it's worth noting that the XSLT translate function takes three strings.
这种操作接受一个字符串参数(例如Jane),然后返回一句问候语“Hello Jane!”
This operation takes one String parameter (for example, Jane) and returns a greeting: "Hello Jane!".
在这里我要指出的是,使用字符串参数通过Web服务接口发送XML通常被认为是糟糕的设计,应该加以避免。
The point here is that using a string parameter to send XML across a web service interface is generally considered bad design and should be avoided.
JAXB根据XMLschema中xsd:string构造的用法,仍然会生成接受字符串参数的类。
JAXB is still going to generate a class that accepts a string argument, based on the usage of the XSD: string construct in your XML Schema.
在c语言中,一个常见的错误是将攻击者的数据传递到格式化字符串参数中(例如printf(3)的第一个参数)。
In c, a common mistake is to pass attacker data into format string parameters (such as the first parameter of printf (3)).
创建数据驱动的ASP.NET网站时,通常会产生一个单个的网页,该网页基于查询字符串参数显示数据库数据的子集。
Creating data-driven ASP.NET websites often results in a single web page that displays a subset of the database's data based on querystring parameters.
要把元素或属性和字符串进行比较,或者将其传递给需要字符串参数的函数,必须使用(string)强制转换成字符串。
To compare an element or attribute with a string or pass it into a function that requires a string, you must cast it to a string using (string).
例如,Calculator Handler实现一个名为Info的方法,后者接受一个字符串参数并将之写到应用程序日志中。
For example, the CalculatorHandler implements a method named Info , which takes a string argument and writes it to the application log.
HelloMessageApi 类将定义 hello_messageAPI方法,该方法将获取两个字符串参数,名字和姓氏,并返回字符串值。
The HelloMessageApi class defines a hello_message API method that takes two string parameters, firstname and lastname, and returns a string value. The hello_message_api.rb script is shown below.
GenericLowerDecorator类充当一个通用修饰符,用于强制所有基于字符串的参数使用小写形式。
The GenericLowerDecorator class ACTS as a universal decorator to force all string-based parameters into lowercase.
报表名和路径应该作为参数附加到URL串中。
The report name and path should be specified as an additional parameter in the URL string.
这是将分组信息编码到二进制串中的缘故,分组参数类型为VARCHAR,比简单的INTEGER类型潜在地要求更多的存储空间。
This is due to the encoding of the group information in the binary string, and a grouping parameter of type VARCHAR requires potentially more space than a simple INTEGER value.
open()方法的字符串(string)参数是一个有效的URL。
The string parameter to the Connector.open() method is a valid URL.
open()方法的字符串(string)参数是一个有效的URL。
The string parameter to the Connector.open() method is a valid URL.
应用推荐