interface implimentation in Excel
-
Hi, Today I opened the definition of Excel.ApplicationClass and I observed that it implements two interfaces called application and _application. Interface _application contains lot of members but interface application is empty and only implements interface _application. So the hierarchy is like this; interface _application (interface with members in it) interface application (empty interface) : _application ApplicationClass (class) : _application, application So the class ApplicationClass provides definitions to all members in topmost interface _application. My question is that why does this class need to implement the interface _application if it is already implemented by interface application? Thanks in advance for all the answers by you. Anil
-
Hi, Today I opened the definition of Excel.ApplicationClass and I observed that it implements two interfaces called application and _application. Interface _application contains lot of members but interface application is empty and only implements interface _application. So the hierarchy is like this; interface _application (interface with members in it) interface application (empty interface) : _application ApplicationClass (class) : _application, application So the class ApplicationClass provides definitions to all members in topmost interface _application. My question is that why does this class need to implement the interface _application if it is already implemented by interface application? Thanks in advance for all the answers by you. Anil
A M SOMAN wrote:
My question is that why does this class need to implement the interface _application if it is already implemented by interface application?
Good question. I would expect that the answer is because it's autogenerated so don't actually expect it to do anything clever there.
Deja View - the feeling that you've seen this post before.