-
Interfaces Inheriting from Interfaces
Hi
This, I hope, will be a simple answer. I am builing a not so simple component
and want to make sure that implementation is kept separated from the interfaces.
I forget which C++ programmer told me that that was the proper way of doing
things ... :-))
Anyway. I have two interfaces
Public Interface IDBOPerations; and,
Public Interface IPersonnel
The code in IPersonnel is below ... Now, when I try to have IPersonnel Implement
the IDBOperations interface, I get a compile error.
Can this be done? Can one interface implement (or even inherit from) another
interface?
Many Thanks,
larry
-
Re: Interfaces Inheriting from Interfaces
On 26 Jan 2003 20:16:45 -0800, Larry Hunter wrote:
> Hi
>
> This, I hope, will be a simple answer. I am builing a not so simple component
> and want to make sure that implementation is kept separated from the interfaces.
> I forget which C++ programmer told me that that was the proper way of doing
> things ... :-))
>
> Anyway. I have two interfaces
>
> Public Interface IDBOPerations; and,
> Public Interface IPersonnel
>
> The code in IPersonnel is below ... Now, when I try to have IPersonnel Implement
> the IDBOperations interface, I get a compile error.
>
> Can this be done? Can one interface implement (or even inherit from) another
> interface?
>
> Many Thanks,
>
> larry
Hmm... the first problem that springs to mind is that you are in the wrong
group (most people in here are to busy whinging about MS and .NET to answer
technical questions), and the second is that the "code below" is missing 
Go to vb.dotnet.technical and post the question there along with your code.
Cheers,
Jason
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks