How to use CodeDom to create a class that derives from other class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I want to use CodeDome to create a class that derives from
MarshalByRefObject. Currently the only thing I can do is:

oClass=new CodeTypeDeclaration("MyClass");
oClass.IsClass = true;
oClass.Attributes = MemberAttributes.Public;

How to let my class derive from
MarshalByRefObject?

Thanks in advance!!!
Cindy
 
Back
Top