not seeing the inherited members of a data source

D

dirk.bonne

Hi,

I have a problem seeing the members of the base interfaces when using a
data source in the visual studio designer.

as an example:

public interface A { int Am { get; } }
public interface B : A { int Bm { get; } }

In visual studio 2005, I create a data source (Add New Data Source) and
select the B interface,

When I look at the available member properties I only see Bm not Am. So
I can not for exampl bind a ComboBox to the member Am. Is there a way
around this?

any hint is very welcome!
Dirk
 
D

dirk.bonne

OKay reply to my self....

It works ok when doing

public interface B : A {
new int Am { get; }
int Bm { get; }
}

but this feels very wrong :-(

Dirk
 

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

Top