Mono Class Library: System.CodeDom Namespace

System.CodeDom.CodeTypeDeclaration Class

Represents a type declaration in the CodeDom. [Edit]

See Also: CodeTypeDeclaration Members

System.Object
     System.CodeDom.CodeObject
          System.CodeDom.CodeTypeMember
               System.CodeDom.CodeTypeDeclaration

[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
public class CodeTypeDeclaration : CodeTypeMember

Remarks

The CodeTypeDeclaration represents a type declaration in the CodeDom graph. The type may be one of
c# Example
// Create Hello class
// public class Hello {
// }
CodeTypeDeclaration helloClass=new CodeTypeDeclaration("Hello");
helloClass.IsClass=true;
[Edit]

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0