System [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.3300.0 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.CodeDom.CodeTypeMember System.Runtime.InteropServices.ComVisible(true) System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch) Represents a type declaration in the CodeDom. The CodeTypeDeclaration represents a type declaration in the CodeDom graph. The type may be one of
Class
Enumeration (enum)
Interface
Structure (struct)
`// Create Hello class // public class Hello { // } CodeTypeDeclaration helloClass=new CodeTypeDeclaration("Hello"); helloClass.IsClass=true;`
- Constructor
  To be added
  To be added
  1.0.5000.0
  2.0.0.0
- Constructor
  Name for the
  Creates a with the specified name.
  To be added
  1.0.5000.0
  2.0.0.0
- Property
  System.CodeDom.CodeTypeReferenceCollection List of types from which this type is derived. containing list of types from which this type is derived. This example demonstrates the use of the . `CodeTypeDeclaration baseClass=new CodeTypeDeclaration("BaseClass"); baseClass.IsClass=true; CodeTypeDeclaration helloClass=new CodeTypeDeclaration("SubClass"); helloClass.IsClass=true; helloClass.BaseTypes.Add(new CodeTypeReference("BaseClass"));` Generates the output `public class SubClass : BaseClass { }` 1.0.5000.0 2.0.0.0
- Property
  System.Boolean Flag signifying whether the object is a Class. To be added: an object of type 'bool' To be added 1.0.5000.0 2.0.0.0
- Property
  System.Boolean Flag signifying whether the object is an Enumeration . To be added: an object of type 'bool' `CodeTypeDeclaration colorEnum=new CodeTypeDeclaration("Colors"); colorEnum.IsEnum=true; CodeMemberField memBlue=new CodeMemberField(typeof(int),"BLUE"); memBlue.InitExpression=new CodeSnippetExpression("2"); colorEnum.Members.Add(memBlue); colorEnum.Members.Add(new CodeMemberField(typeof(int),"Green"));` Generates the following code for the C# generator: `public enum Colors { BLUE = 2, Green, }` 1.0.5000.0 2.0.0.0
- Property
  System.Boolean Flag signifying whether the object is an Interface. To be added: an object of type 'bool' To be added 1.0.5000.0 2.0.0.0
- Property
  2.0.0.0
  System.Boolean To be added. To be added. To be added.
- Property
  System.Boolean Flag signifying whether the object is an Structure (struct). To be added: an object of type 'bool' To be added 1.0.5000.0 2.0.0.0
- Property
  System.CodeDom.CodeTypeMemberCollection To be added To be added: an object of type 'CodeTypeMemberCollection' To be added 1.0.5000.0 2.0.0.0
- Event
  System.EventHandler To be added To be added 1.0.5000.0 2.0.0.0
- Event
  System.EventHandler To be added To be added 1.0.5000.0 2.0.0.0
- Property
  System.Reflection.TypeAttributes To be added To be added: an object of type 'Reflection.TypeAttributes' To be added 1.0.5000.0 2.0.0.0
- Property
  2.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.CodeDom.CodeTypeParameterCollection To be added. To be added. To be added.