Avoid events as interface members.
避免将事件作为接口成员。
Adding, changing, or removing interface members.
添加、更改或移除接口成员。
Methods in a Module cannot implement interface members.
模块中的方法不能实现接口成员。
COM interfaces can include properties as interface members.
COM接口可以将属性当作接口成员包括在内。
An abstract class must provide implementation for all interface members.
抽象类必须为所有接口成员提供实现。
Avoid implementing interface members explicitly without having a strong reason to do so.
如果没有充分理由,应避免显式实现接口成员。
Interfaces and interface members are abstract; interfaces do not provide a default implementation.
介面和介面成员是抽象的,介面并未提供预设实作。
An interface can be declared with any accessibility, but interface members must all have public accessibility.
接口可以用任何可访问性来声明,但接口成员必须全都具有公共可访问性。
If the two interface members do not perform the same function, however, this can lead to an incorrect implementation of one or both of the interfaces.
然而,如果两个接口成员执行不同的函数,那么这可能会导致其中一个接口的实现不正确或两个接口的实现都不正确。
If the two interface members do not perform the same function, however, this can lead to an incorrect implementation of one or both of the interfaces.
然而,如果两个接口成员执行不同的函数,那么这可能会导致其中一个接口的实现不正确或两个接口的实现都不正确。
应用推荐