如果希望增加属性,您必须把price元素定义成复杂类型。
If you want to add an attribute, you must define price as a complex type.
和一般的类别不同,一个类的扩展可以为其增加属性和实例变量。
Unlike regular categories, a class extension can add its own properties and instance variables to a class.
和一般的类别不同,一个类的扩展可以为其增加属性和实例变量。如果你像下面这样声明属性。
Unlike regular categories, a class extension can add its own properties and instance variables to a class. If you declare a property in a class extension, like this.
这可能是最有趣的新属性视图,因为它允许您利用任意string名字和bytebuffer值向文件增加属性。
This is probably the most interesting new attribute view because it allows you to add attributes with arbitrary String names and ByteBuffer values to files.
ReSharper模板简化了很多常见的编码与配置工作,比如Bean类型完成以及为Bean定义增加属性等。
The ReSharper templates which are included also ease many common coding and configuration tasks such as bean type completion and adding properties to bean definitions.
该算法不仅为相对约简格的构造提供了一种方法,还解决了在已构造好相对约简格的前提下,增加属性所带来的更新问题。
It provides an approach for building relative reduced concept lattice and resolves the problem of lattice update caused by appending new attributes into an existing context of the lattice.
为了公开元素映射,可以为每个元素增加一个属性用于展示其到一般元素类型的映射。
To expose the element mappings, you can add an attribute to each element that shows its mappings to more general types.
为了改进这种方法,我建议对每一个需求类型增加一个新的属性,这些需求可以被基于多版本的发行版本使用。
To facilitate this method, I propose the addition of a new attribute for every requirement type whose requirements might be used on releases with multiple versions.
子类型也可以向基类型增加更多的元素和属性声明。
A subtype can also add more element and attribute declarations to the base type.
在本例中,任何修改(如增加新的属性文件)都要放大八倍。
In this example, any change (such as adding a new properties file) is magnified by a factor of eight.
将强度属性设置为更高的级别会增加排序键的长度。
Setting the strength attribute to a higher level will increase the length of the sort keys.
颜色是食物的一项重要属性,食物颜色可以增加我们享用食物的乐趣。
Colour is an important property of foods that adds to our enjoyment of eating.
同时要避免使用太多的默认属性,因为这会增加验证时间。
Also avoid using many default attributes, since this increases validation time.
要求1:映射属性为了提供专门化信息,必须像前面那样增加专门化属性。
Requirement 1: Mapping attributes to provide the specialization information, you need to add specialization attributes, as outlined previously.
属性编辑器视图用来对增加到报表上的报表元素设置属性。
The Property Editor View is used to set properties for report elements that have been added to the report.
这样,满足不同管理人员的需求只不过是增加适当的容器元素和索引属性。
In this way, satisfying the needs of different managers is just a matter of appropriate container elements and indexing attributes.
在这个例子中,你需要增加另一个属性到标签,所以改变如下行。
In this instance you need to add another attribute to the tag, so change this line to read.
所幸2.0没有把1.0中的可选属性变成必须的,老指令也没有增加任何新的必要属性。
Fortunately, in no case did an attribute that was optional in 1.0 became mandatory in 2.0, nor are any brand new attributes now mandatory on old instructions.
增加和移除节点和属性。
在这里,我使用了Spring的基于容器的体系结构和AOP框架来为JMX方法和属性增加通知事件。
In this case, I used Spring's container-based architecture and AOP framework to add notification events to JMX methods and attributes.
现在增加- s选项,按照size属性对文件排序(参见清单13)。
Now you can add the -s option to sort the files by the size attribute (see Listing 13).
在回调函数中我也有些多余地为元素增加了id属性。
In my callback function I also add, somewhat superfluously, id attributes to my elements.
在本文中,我使用了一种相对简单的操作——为基于Spring的应用程序的方法和属性增加通知事件——以帮助您熟悉对SpringJMX的定制。
In this article, I use a relatively simple exercise — adding notification events to Spring-based application methods and attributes — to help you get comfortable with customizing Spring JMX.
增加和这些元素按照class属性内容匹配的模板规则。
Add template rules that match those elements, based on their class attribute content.
现有应用程序可以在无须更改代码的情况下,仅在manifest文件中增加一个属性,即可无缝变更为新的全息用户界面主题。
Existing applications can seamlessly participate in the new holographic UI theme without code changes, by adding a single attribute in their manifest files.
下面的例子是采用这一方法,来向FileInfo 对象增加新的属性。
You'll use this approach in the example that follows to add new attributes to the FileInfo object.
在 "Columndata" 下,点击Add 增加一个属性。
您可以修改property.cfg文件,增加任何非CMIS定义的属性的名称。
You can modify the property.cfg file to add the names of any properties not defined by CMIS.
在图12中,min - height属性从200px增加到300 px。
In figure 12, the min-height attribute was increased from 200 px to 300 px.
验证的DOM支持,为表单元素增加了validity属性和新的invalid事件。
DOM support for validity, with a validity attribute for form elements, and a new invalid event.
应用推荐