Mapping now supports casting to a derived type.
映射现在支持转换为派生类型。
The vitamin used in this study is a plant-derived type called vitamin D2.
本次实验中使用的维生素是从植物中提取的,是维生素d2。
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.
另外,Visual Basic . NET允许您通过类型的实例、甚至派生类型的实例来触及静态成员,如图12中的代码所示。
That's what interface inheritance means; if you fulfill the contract of the more derived type then you are required to also fulfill the contract of the less derived type.
接口继承就是这样的;如果你要满足派生程度较高的类型的契约的话,你就必须要满足派生程度较低的类型。
Type extensions, which enable you to extend an existing type easily without the additional overhead work of creating a new derived type.
型别扩充,可让您轻松扩充现有型别,而不需要额外建立新的衍生型别。
If the additional functionality that is provided by the derived type is not required, use of the base type allows wider use of the method.
如果不需要以衍生型别提供额外的功能,则可以使用基底型别让方法获得更广泛的使用。
When we construct, copy, assign, or destroy an object of derived type, we also construct, copy, assign, or destroy those base-class subobjects.
当构造、拷贝、赋值或撤销一个派生类对象时,也要构造、拷贝、赋值或撤销那些基类的子对象。
If the additional functionality provided by the derived type is not required, use of the base type allows the method to be more widely utilized.
如果不需要使用子类型所扩展的功能,使用基类型使方法可以被更广泛的使用。
If that pointer is a base-class type pointer that points to a derived-type object, then that object is sliced down ( Section 15.3.1, p. 577); only the base-class part is thrown.
如果该指针是一个指向派生类对象的基类类型指针,则那个对象将被分割( 第15.3.1节),只抛出基类部分。
If that pointer is a base-class type pointer that points to a derived-type object, then that object is sliced down ( Section 15.3.1, p. 577); only the base-class part is thrown.
如果该指针是一个指向派生类对象的基类类型指针,则那个对象将被分割( 第15.3.1节),只抛出基类部分。
应用推荐