G
Guest
Hi
i have a base class (marked 'MustInherit') with a public property called IsValid and a public event called Vali
i have a class (lets call it 'Client') that inherits this base class
so the Client class now has a public event called valid and a public property called IsVali
the client class implements an interface called IListEditorItem, this interface declares two things... (can you guess?
a public event called Vali
and a public property called IsVali
The client obviously has these already (from the base class), but vb.net still says it doesnt have them as the implements keyword must be used and mapped to the corresponding methods etc.
C# would pick this up automatically (as it maps by name for interfaces), how do i get round this issue in vb.net
do i have to write another property called IsValid2 which returns the base class property and implements the interface property
or is there a way i can get the interface to know that the property is already there in the base class
i have a base class (marked 'MustInherit') with a public property called IsValid and a public event called Vali
i have a class (lets call it 'Client') that inherits this base class
so the Client class now has a public event called valid and a public property called IsVali
the client class implements an interface called IListEditorItem, this interface declares two things... (can you guess?
a public event called Vali
and a public property called IsVali
The client obviously has these already (from the base class), but vb.net still says it doesnt have them as the implements keyword must be used and mapped to the corresponding methods etc.
C# would pick this up automatically (as it maps by name for interfaces), how do i get round this issue in vb.net
do i have to write another property called IsValid2 which returns the base class property and implements the interface property
or is there a way i can get the interface to know that the property is already there in the base class