[Serializable] |
ctor #1 | Overloaded:.ctor() Default constructor. This constructor is called by derived class constructors to initialize state in this type.Initializes a new instance of the CodeTypeDeclaration class. |
ctor #2 | Overloaded:.ctor(string name) Initializes a new instance of the CodeTypeDeclaration class with the specified name. |
Attributes (inherited from System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.Attributes Gets or sets the attributes of the member. |
BaseTypes | Read-only Gets the base types of the types. |
Comments (inherited from System.CodeDom.CodeTypeMember) |
Read-only See base class member description: System.CodeDom.CodeTypeMember.Comments Gets the comment collection for the type member. |
CustomAttributes (inherited from System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.CustomAttributes Gets or sets the custom attributes of the member. |
IsClass | Read-write Gets or sets a value indicating whether the type is a class or reference type. |
IsEnum | Read-write Gets or sets a value indicating whether the type is an enumeration. |
IsInterface | Read-write Gets or sets a value indicating whether the type is an interface. |
IsStruct | Read-write Gets or sets a value indicating whether the types is a value type (struct). |
LinePragma (inherited from System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.LinePragma Gets or sets the line the statement occurs on. |
Members | Read-only Gets the collection of class members for the represented type. |
Name (inherited from System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.Name Gets or sets the name of the member. |
TypeAttributes | Read-write Gets or sets the attributes of the type. |
UserData (inherited from System.CodeDom.CodeObject) |
Read-only See base class member description: System.CodeDom.CodeObject.UserData Gets or sets the user-definable data for the current object. |
Equals (inherited from System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
PopulateBaseTypes | Occurs when the CodeTypeDeclaration.BaseTypes collection is accessed for the first time. |
PopulateMembers | Occurs when the CodeTypeDeclaration.Members collection is accessed for the first time. |
Finalize (inherited from System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public CodeTypeDeclaration(); |
public CodeTypeDeclaration( |
name
public MemberAttributes Attributes {get; set;}
|
public CodeTypeReferenceCollection BaseTypes {get;}
|
public CodeCommentStatementCollection Comments {get;}
|
public CodeAttributeDeclarationCollection CustomAttributes {get; set;}
|
public bool IsClass {get; set;}
|
public bool IsEnum {get; set;}
|
public bool IsInterface {get; set;}
|
public bool IsStruct {get; set;}
|
public CodeLinePragma LinePragma {get; set;}
|
public CodeTypeMemberCollection Members {get;}
|
public string Name {get; set;}
|
public TypeAttributes TypeAttributes {get; set;}
|
public IDictionary UserData {get;}
|
~CodeTypeDeclaration(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |
public event EventHandler PopulateBaseTypes;
|
public event EventHandler PopulateMembers;
|