Using PropertyBuilder with a Dynamic Type

T

Tom J

Using the example that microsoft gives in the VS documentation, creating a
property with the PropertyBuilder on a dynamic type will never allow it (the
property) to be exposed as public...only the get and set methods used on the
property show up as public. Has anyone found a way around this?

Thanks,
Tom J
 
R

Rick

Using the example that microsoft gives in the VS documentation, creating a
property with the PropertyBuilder on a dynamic type will never allow it (the
property) to be exposed as public...only the get and set methods used on the
property show up as public. Has anyone found a way around this?

[Better late than never...]

Why is this a problem?

In a sense, it's a good thing, in the you could allow a Public Get and
a Protected Set method - something I often wish for.
 

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