In the preceding example , you could use the explicit interface member implementation by using the fully qualified name of the interface member 在上例中,可以通过使用接口成员的完全限定名来使用显式接口成员实现。
Components with an implementation qualifier of activitysession false must use the interface qualifier joinactivitysession false 实现限定符为activitysession = false的组件必须使用接口限定符joinactivitysession = false 。
You can use visual basic 2005 , c , and c to incorporate interface definitions in your code , instead of having to use interface definition language or its equivalent 您可以使用visual basic 2005 、 c #和c + +将接口定义合并在代码中,而不必使用接口定义语言( idl )或其等效语言。
Information received from the viewer , or coded with the interface sdk , triggers further processing from the report engine that performs further actions on the report 从查看器接收到的信息或使用接口sdk编写的代码会触发报表引擎执行进一步的处理,即对报表执行进一步的操作。
To use the functionality of an interface , you can either create a class that implements the interface or derive a class from one of the . net framework classes that implements the interface 若要使用接口的功能,既可以创建实现接口的类,也可以从某个实现接口的. net framework类中派生类。
In general , use inheritance when you want to create baseline functionality that derived classes can extend ; use interfaces in situations where similar functionality needs to be provided by multiple implementations that have little in common 一般来说,当要创建派生类可扩展的基准功能时使用继承;在多个几乎没有共同点的实现需要提供类似功能的情况下使用接口。