For this simple example, you can use the format specification sequence % s in your FormatString to indicate that a string substitution should occur.
对于这个简单的示例,可以在FormatString中使用格式定义序列%s,表示应该进行字符串替换。
send_message; this means that the parameters are an int, a char* (s for string), and an int; and that if an exception is thrown, the function is called TrayIcon.send_message.
这意味着参数依次是int 、char* (s 表示字符串)和 int ;而且如果抛出一个异常,则该函数称作 TrayIcon.send_message 。
Compare this to Listing 1 where the result of key lookup is immediately narrowed down to the desired string by selecting s: name children.
与清单1相比,在清单1中,通过选择s:name子元素,就可以立即将查找结果限制为目标字符串。
Notice the values of the type attribute in this definition file: the element is mapped to an array, while the nested s are mapped to simple string values.
注意定义文件中type属性的值:元素映射到一个数组,嵌套的映射为简单字符串值。
The only "wire" involved is the string previously rotating the throttle valve, which now is employed to rotate the Control Shaft (s), and this is all.
唯一的“线”涉及的是以前的字符串旋转节流阀,现在是用来控制旋转轴(s),而这就是一切。
The only "wire" involved is the string previously rotating the throttle valve, which now is employed to rotate the Control Shaft (s), and this is all.
唯一的“线”涉及的是以前的字符串旋转节流阀,现在是用来控制旋转轴(s),而这就是一切。
应用推荐