You might try
CodeMemberField cmfLastname =
new CodeMemberField(typeof(string),"m_Lastname");

>-----Original Message-----
>From: Moderated discussion of advanced .NET topics. [mailto:ADVANCED-
>[EMAIL PROTECTED]] On Behalf Of Brady Gaster
>Sent: Tuesday, December 03, 2002 11:44 AM
>To: [EMAIL PROTECTED]
>Subject: [ADVANCED-DOTNET] CodeDOM the "@" symbol
>
>I'm developing a simple classcode-generation tool, and I've run into a
>little snag. It's my first experience with the CodeDOM stuff, so be
warned
>-
>this may be a slightly odd query that may have already been delved into
>(though I didn't see the topic in the search).
>
>In my class I've got the following line of code:
>
>CodeMemberField cmfLastname = new
CodeMemberField("string","m_Lastname");
>
>When this code runs and the overall code generated, the output looks
like
>this:
>
>private @string Lastname
>
>Though I'm only testing this out with string properties and fields at
this
>point, I know that I'm going to have a need for the provision of types
>that'll be generated as string input parameters to the method which
>actually
>performs the work. This being said, I've got a slight concern as to
whether
>this is a good idea or not. There's a long road in front of me in the
>development of this project, and I wanted to find out if anyone's seen
this
>before and if so, is it fixable?
>
>Or is this a "glitch" or something?
>
>
>Brady Gaster
>Wells-Fargo Service Company
>Executive Support
>(602) 790-2081
>
>
>You can read messages from the Advanced DOTNET archive, unsubscribe
from
>Advanced DOTNET, or
>subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to