调用基类上已被其他方法重写的方法。
Call a method on the base class that has been overridden by another method.
我们实际上可以用多种方法重写上一个例子的最后一行。
We could actually write the last line of the previous example in several ways.
但该参数的值不可以被过程或者是方法重写。
The value of the parameter can not be overwritten by the procedure or function.
因为新的click方法重写了Button的具体实现,必须加上override关键字。
Since the new click method overrides Button's concrete implementation, the override keyword is required.
其次,程序员必须重写必要的基本方法。
Secondly, the programmer must override base methods as necessary.
再一次,我们重写了click方法。
每个表达式类都有一个simplify方法,以允许表达式重写。
Each expression class has a simplify method, to allow expression rewriting.
被重写的click方法会增加count。
重写apply方法。
建议所有子类都重写此方法。
有没有一种办法来“重写”的方法?
实现的主要任务是重写确认方法。
The main task of the implementation is to rewrite the validation method.
但如果你的树是静态的,没有必要重写此方法。
But if your tree is static, there is no need to override this method.
您可以重写此方法,以提供自定义实现来返回服务对象。
You can override this method to provide a custom implementation to return a service object.
有没有一种方法本质上的“重写”最后一个变量?
如何重写的方法或指定的库类的参数值?
How to override a method or assign a parameter value of a library class?
我们需要在它所有的子类中重写这个方法。
We will need to override this method in all of its subclasses.
另一方面,您也可能想重写某些基类方法。
On the other hand, you may want to override certain base-class methods.
重写抽象方法,但保持方法摘要?
当在类中重写该方法时,您应该保持这个有限的范围。
You should maintain this limited scope when you override the method in your class.
可以添加和重写基类的属性、方法和事件。
You can add as well as override properties, methods, and events of the base class.
派生类应重写此方法,才能进行任何自定义布局逻辑。
Derived classes should override this method to do any custom layout logic.
如果重写此方法,应始终调用基类。
应重写此方法以提供该元素状态的自定义指示。
You should override this method to provide custom indication of the state of this element.
必须重写此方法才能支持具有多种类型的集合。
This method must be overridden to support collections with multiple types.
控件很少需要重写此方法(即使有的话)。
Controls will seldom, if ever, need to override this method.
重写该方法以提供您自己的转换要求。
Override this method to provide your own conversion requirements.
可以重写此方法以存储私有视图状态。
重写方法不能用来启动、提交或停止事务。
Override methods cannot be used to start, commit, or stop a transaction.
派生类时应重写此方法以查看句柄是在何时创建的。
Derived classes should override this method to find out when the handle has been created.
应用推荐