我添加了一个字符串名称、一个端口类变量,还有两个函数:构造器和服务器。
I add a string name and port class variable and then two functions: a constructor and the server.
当应用程序试图通过类的字符串名称,使用以下三种方法装入类,但却找不到指定名称的类定义时抛出该异常。
Thrown when an application tries to load in a class through its string name using
但是有点细微的地方:onclick属性需要提供函数引用——不是函数的字符串名称,而是函数本身的引用。
But there's a slight twist: the onclick property wants to be fed a function reference — not the string name of a function, but a reference to the function itself.
正如您看到的那样,Assembly对象公开GetManifestResourceStream方法,允许您传递标识嵌入资源的字符串名称。
As you can see, an Assembly object exposes the GetManifestResourceStream method, which allows you to pass a string name that identifies the embedded resource.
这种支持要比HTMLcookie先进得多,HTML cookie仅允许应用程序存储字符串名称值对,并且每个Web站点仅能存储4 k b名称值对。
This support is significantly more advanced than HTML cookies that allow an application to store only String-name value pairs and limit even those to a general restriction of four KBs per Web site.
给定组名称(字符串)和用户名数组后,该方法会将这些名称添加到组中。
Given a group name (string) and an array of user names, this method adds these names to the group.
键入任何名称或者值作为搜索字符串来搜索。
在我们的例子中,构造器接收了一个表示超类名称的字符串。
In the example shown here, the constructor accepts a string that represent the superclass name.
您的组名称字符串需要与属性文件中的组名称完全匹配。
Your group name strings need to exactly match with the group names in your properties files.
可以按以下两种形式提供规范:作为完整的查询字符串,或仅作为任务的名称。
The specification can be given in two forms, either as a complete query string, or just the name of the task.
第一个参数(字符串)是动作方法的名称,第二个参数(也是字符串)是控制器的名称。
The first parameter (a string) is the name of the action method and the second parameter (also a string) is the name of the controller.
字符串字段包含文件的名称。
这个宏需要一个字符串作为测试套件的名称。
The macro expects a string that is the name of the test suite.
对缺省名称空间初始化,使之完全不是名称空间 URI,这样就存在一个语法,它通过向以前定义的缺省名称空间分配空字符串来取消对该名称空间的定义。
The default namespace is initialized to be no namespace-URI at all, so there is a syntax for undefining a previously-defined default namespace by assigning it to the null string.
为了改进可用性,在选择要使用的目录时,所显示的名称将基于可读的字符串,而不是早期版本中使用的JNDI名称。
To improve usability, the names displayed when selecting which directory to use are based on human readable strings, rather than JNDI names used in previous versions.
动态模型(缺省值)允许编程人员通过名称(字符串)获得和设置数据图中的数据元素。
The dynamic model (the default) lets programmers get and set data elements in the data graph by name (String).
这意味着LDAP把名称当作字符串。
在这个例子中,它将名称的首字母大写,其它的字母保持小写,然后用修改过的字符串作为新的名称值。
In this example, it converts the first character of the name to uppercase, and the remaining characters to lowercase, and then USES that modified string as the new name value.
您可以使用查询字符串(而不是仅使用任务名称)来指定测试。
You could have specified your test using a query string instead of just the task name.
清单16包含作为静态整数的算法名称及其作为字符串的相应名称空间。
Listing 16 contains names of Algorithms as static integers and their corresponding namespaces as strings.
该函数将OD BC连接器字符串、用户名称和密码作为参数。
This function takes an ODBC connector string, a user name, and a password as parameters.
以下XSL代码将字符串中的名称空间前缀转换为对应的名称空间URI。
The following XSL code translates the namespace prefix in a string to the corresponding namespace URI.
PID字符串和ITEMTYPE名称在后面会用于查询内容数据和创建电子邮件通知。
The PID string and ITEMTYPE name are used later to retrieve the content data and compose an e-mail notification.
如果提供的字符串并不包含前缀,则对应的名称空间uri将为一个空字符串。
If the supplied string does not contain a prefix, the namespace URI is an empty string.
查询操作的参数是JPQL字符串或预定义名称查询的别名。
The arguments for a query operation are the JPQL string or moniker of a predefined named query.
构造函数带有字符串参数—图标名称。
Note that the constructor takes a string argument, the name of the icon.
所有方法都接受一个字符串参数(用户名称)并返回一个字符串值。
All methods accept one string parameter (the name of user) and return a string value.
名称空间是采用uri语法的字符串(常常不必要的称为“名称空间uri”)。
A namespace is a string with the syntax of a URI (often redundantly called the "namespace URI").
单击Next,然后指定与在前面小节中创建的ODBC数据源名称和连接字符串相同的名称。
Click on Next, and specify the same ODBC data source name and connection string as you created in the previous section.
对于第二个字符串字段,将其名称设置为comments,标签设置为additional comments。
For the second string field, set its name to comments and its label to Additional comments.
应用推荐