映射现在支持转换为派生类型。
抽象类型必须由它们的派生类型来代替。
XML模式允许通过扩展或限制来派生类型。
XML schemas allow types to be derived by extension and by restriction.
派生类型必须是它们的基础类型完全可替换的。
Derived types must be completely substitutable for their base types.
派生类型必须可以替换它的基类型。
这使您可以在派生类型的继承成员上进行反射。
This enables you to reflect on the inherited members of a derived type.
如果某虚函数为私有函数,则派生类型无法访问它。
If a virtual function is private, it cannot be accessed by a derived type.
抽象类不能在实例文档中使用;它们只是为其派生类型提供占位符。
Classes cannot be used in instance documents; they simply provide a placeholder for their derived types.
派生数据类型是已有的基本类型或其他派生类型的一个派生物或结构。
A derived data type is a derivative or structure of existing base types or other derived types.
要查看逻辑派生类型,在导航树中展开ServiceMetadata。
To see logical derivation types, expand Service Metadata in the navigation tree.
该代码确保在函数f 1中处理的类型只能是a类型或其派生类型。
The code ensures that the types handled in function f1 are only those that are of type a or derivatives thereof.
相反,类型侦听器只是类比已截获物件的类型,并在派生类型的实例上工作。
Type interceptors, instead, just mock the type of the intercepted object and work on an instance of a derived type.
值类型不支持派生类型,因此不需要对派生类型会修改字段的情况做出防卫。
Value types do not support derived types, so you do not need to defend against derived types modifying fields.
要在实例文档中对元素指定xsi:type,使用派生类型替换声明的类型。
Xsi: type is specified on an element in the instance document to replace the declared type with a derived one.
缺少这两个派生类型是一个互操作性问题,因为抽象类型是不能出现在XML实例文档中的。
The lack of the two derived types is an interoperability problem because abstract types cannot appear in an XML instance document.
如果订阅并使用此事件,则继承层次结构中所有跟着的派生类型都必须实现相同序列化机制。
If this event is subscribed to and used, all derived types that follow in the inheritance hierarchy must implement the same serialization mechanism.
数组类型同样是派生类型,它描述了某种对象的连续的非空集合,由其中元素类型和元素个数来刻画。
An array type describes a contiguously allocated nonempty set of objects with a particular member object type, called the element type.
如果接口具有逆变类型形参,则允许其方法接受与接口类型形参指定的派生类型相比,派生程度更小的类型的实参。
An interface that has a contravariant type parameter allows its methods to accept arguments of less derived types than those specified by the interface type parameter.
通过运行时类型识别(RTTI),程序能够使用基类的指针或引用来检索这些指针或引用所指对象的实际派生类型。
Run-time Type Identification (RTTI) allows programs that use pointers or references to base classes to retrieve the actual derived types of the objects to which these pointers or references refer.
如果接口具有协变类型形参,则允许其方法返回与接口类型形参指定的派生类型相比,派生程度更大的类型的实参。
An interface that has a covariant type parameter enables its methods to return more derived types than those specified by the type parameter.
如果指定了名称,该测试只选择具有该名称的节点;如果指定了类型,则选择与指定的类型相同或者为其派生类型的节点。
If you specify a name, the test selects only nodes with that name, and if you specify a type, the test selects only nodes whose type is the same as or derived from the specified type.
另外,Visual Basic . NET允许您通过类型的实例、甚至派生类型的实例来触及静态成员,如图12中的代码所示。
In addition, Visual Basic.net allows you to touch a static member through an instance of a type, even a derived type, as you can see in the code in Figure 12.
其中并没有com . example .RequestMessage和com .example .ResponseMessage这两个派生类型的定义。
The definition for the two derived types, com.example.RequestMessage and com.example.ResponseMessage, are not present.
参数是强类型的,类型的范围是从基本的非派生类型(布尔(booleans)、字节(bytes)、整型(integers))到高层次数据结构(字符串(strings)、数组(arrays)和字典(dictionaries))。
Arguments are strongly-typed, and the types range from fundamental primitives (booleans, bytes, integers) to high-level structures (strings, arrays, and dictionaries).
此类的run方法是final类型,因此派生类不能使用它指定自己的逻辑。
The run method on this class is final so that derived classes cannot use it to specify their logic. Instead, you should override the following method so that it contains the logic for the thread.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
基类的派生类,类型的仿制药。网。
当具有基类的引用或指针,但需要执行不是基类组成部分的派生类操作的时候,需要动态的强制类型转换。
Dynamic casts are needed when we have a reference or pointer to a base class but need to perform operations from the derived class that are not part of the base class.
当具有基类的引用或指针,但需要执行不是基类组成部分的派生类操作的时候,需要动态的强制类型转换。
Dynamic casts are needed when we have a reference or pointer to a base class but need to perform operations from the derived class that are not part of the base class.
应用推荐