实作继承(implementation inheritance)是COM 的一种新观念.虽然 COM 的开发者通常在元件实作中使用实作继承, 但是继承一个现存的元件则是不可能的.
基于12个网页-相关网页
如果继承的介面不是宣告为新类别的一部分,则会由负责宣告的基底类别提供实作。
If the inherited interface is not declared as part of the new class, its implementation is provided by the base class that declared it.
型别可以从其他型别继承实作、传递物件给其他型别的方法以及呼叫在其他型别上定义的方法,而不论这些型别是以何种语言实作。
Types can inherit implementation from other types, pass objects to another type's methods, and call methods defined on other types, regardless of the language the types are implemented in.
您必须从这个类别继承,以实作这些方法。
You must inherit from this class to implement these methods.
应用推荐