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
///
 
Back
Top