您要查找的是不是:
- Property will return the name of the derived type that extends the. 类的派生类型的名称。
- Conversions from derived type to base type are allowed. 允许从派生类型型到基类类型的转换。
- Shows how to do an upcasta cast from a derived type to one of its base classesusing. 执行向上转换,即从派生类型强制转换为它的一个基类。
- In the opposite direction, the base type does not contain any new members defined by the derived type. 在相反的方向,基类型不包含由派生类型定义的任何新成员。
- Designers of a base class can anticipate the aspects of their base class that are likely to change for a derived type. 基类的设计者可以预测到其基类中可能会在派生类中发生更改的方面。
- For example, to override a field or property, create an XmlElementAttribute, using the new, derived type. 例如,若要重写字段或属性,则使用新的派生类型创建XmlElementAttribute。
- On the class diagram, drag a line from the shape representing the derived type to the shape representing the base type. 在类关系图上,将一条连线从表示派生类型的形状拖动至表示基类型的形状。
- Built-in types include both primitive types and derived types. 内置类型包括基元类型和导出类型。
- A derived type can be cast to a primitive type if its primitive ancestor can be cast to the target type. 如果派生类型的基元祖先可以转换为目标类型,则该派生类型可以转换为基元类型。
- Thrown when an explicit conversion from a base type to an interface or to a derived type fails at runtime. 当从基类型到接口或派生类型的显式转换在运行时失败时,就会引发此异常。
- Constructing an object of derived type involves constructing and initializing all its base subobjects. 构造派生类型的对象包括构造和初始化宾所有基类子对象。
- Each derived type may add its own data, which we will want to include when testing for equality. 每个派生类型可以增加自己的数据,我们希望在测试相等的时候包含这些数据。
- An inheritance line with an arrow pointing from the derived type to the base type appears between the two shapes on the diagram. 在关系图上的两个形状之间将会出现一条继承连线,其箭头从派生类型指向基类型。
- If you call the derived type's GetHashCode method, the return value is not likely to be suitable for use as a key in a hash table. 如果您调用派生类型的GetHashCode方法,则返回值不大可能适合用作哈希表中的键。
- This last conversion is widening because the derived type contains all the members of the base type and thus is an instance of the base type. 最后一个转换为扩大转换,因为派生类型包含基类型的所有成员,于是为基类型的一个实例。
- Derived types must be completely substitutable for their base types. 派生类型必须是它们的基础类型完全可替换的。
- The justification is that the derived type contains all the members of the base type, so it qualifies as an instance of the base type. 原因是派生类型包含基类型的所有成员,因此它有资格作为基类型的实例。
- The most derived type inherits the members of its base, which in turn inherits the members of its base and so on up the inheritance chain. 最底层的派生类继承其基类的成员,基类又继承自己的基类的成员,如此沿着继承链依次向上。
- When a method accepts a superclass instance, yet uses the derived type of this instance to control its behavior, changes are required for the introduction of each new subclass. 在以超类实例为参数的方法中,如果必须知道实例的具体派生类型时才能控制实例行为,那么在引入新的子类时就必然要修改超类的代码。
- It might seem surprising that a conversion from a derived type to one of its base types is widening. 从派生类型到它的基类型的转换正在扩大,这看起来可能让人吃惊。
- 今日热词
-
- 深远海浮式风电平台 - deep-sea floating wind power platform
-
- 京雄高速公路 - Beijing-Xiongan expressway
-
- 农业及相关产业增加值 - the added value of agriculture and related industries