Generate an "as" operator in CodeDom...

N

Nathan Baulch

Is it possible to generate an "as" operator in CodeDom without using a
snippet?
CodeDom is tedious enough as it is without not having this handy operator.

Nathan
 
R

Ross Donald

I don't think you can as the "as" keyword is specific to C#. You can
generate a cast by using CodeCastExpression
 

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