Property and multiple Interfaces

  • Thread starter Thread starter Tom
  • Start date Start date
T

Tom

Hi

I have a class that implements two interfaces, bot interfaces have the
property Text, is there any way to have that a single property in my
class that implements both interfaces?

Thanks

Tom
 
* Tom said:
I have a class that implements two interfaces, bot interfaces have the
property Text, is there any way to have that a single property in my
class that implements both interfaces?

\\\
Public Interface A
Property X() As Object
End Interface

Public Interface B
Property X() As Object
End Interface

Public Class Z
Implements A, B

Public Property X() As Object Implements A.X, B.X
Get
End Get
Set(ByVal Value As Object)
End Set
End Property
End Class
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top