Hi Wayne,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to change the type of each
member and based class type. If there is any misunderstanding, please feel
free to let me know.
To change the member type, I think you can change
CodeTypeDeclaration.Members[0].Type property. Just create a new
CodeMemberField object and assign it to that member.
To modify the base type, we can change CodeTypeDeclaration.BaseTypes to
achieve this.
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemcodedomcodetypedeclarationmemberstopic. asp
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."