[Serializable] |
CodeTypeDelegate should not be used for enumeration, interface, or type declaration. Instead, use CodeTypeDeclaration for those.
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 CodeTypeDelegate class. |
ctor #2 | Overloaded:.ctor(string name) Initializes a new instance of the CodeTypeDelegate class. |
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 (inherited from System.CodeDom.CodeTypeDeclaration) |
Read-only See base class member description: System.CodeDom.CodeTypeDeclaration.BaseTypes 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 (inherited from System.CodeDom.CodeTypeDeclaration) |
Read-write See base class member description: System.CodeDom.CodeTypeDeclaration.IsClass Gets or sets a value indicating whether the type is a class or reference type. |
IsEnum (inherited from System.CodeDom.CodeTypeDeclaration) |
Read-write See base class member description: System.CodeDom.CodeTypeDeclaration.IsEnum Gets or sets a value indicating whether the type is an enumeration. |
IsInterface (inherited from System.CodeDom.CodeTypeDeclaration) |
Read-write See base class member description: System.CodeDom.CodeTypeDeclaration.IsInterface Gets or sets a value indicating whether the type is an interface. |
IsStruct (inherited from System.CodeDom.CodeTypeDeclaration) |
Read-write See base class member description: System.CodeDom.CodeTypeDeclaration.IsStruct 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 (inherited from System.CodeDom.CodeTypeDeclaration) |
Read-only See base class member description: System.CodeDom.CodeTypeDeclaration.Members 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. |
Parameters | Read-only Gets the parameters of the delegate. |
ReturnType | Read-write Gets or sets the return type of the delegate. |
TypeAttributes (inherited from System.CodeDom.CodeTypeDeclaration) |
Read-write See base class member description: System.CodeDom.CodeTypeDeclaration.TypeAttributes 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 (inherited from System.CodeDom.CodeTypeDeclaration) |
See base class member description: System.CodeDom.CodeTypeDeclaration.PopulateBaseTypes Occurs when the CodeTypeDeclaration.BaseTypes collection is accessed for the first time. |
PopulateMembers (inherited from System.CodeDom.CodeTypeDeclaration) |
See base class member description: System.CodeDom.CodeTypeDeclaration.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 CodeTypeDelegate(); |
public CodeTypeDelegate( |
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 CodeParameterDeclarationExpressionCollection Parameters {get;}
|
public CodeTypeReference ReturnType {get; set;}
|
public TypeAttributes TypeAttributes {get; set;}
|
public IDictionary UserData {get;}
|
~CodeTypeDelegate(); |
public virtual int GetHashCode(); |
public Type GetType(); |
protected object MemberwiseClone(); |
public virtual string ToString(); |
public event EventHandler PopulateBaseTypes;
|
public event EventHandler PopulateMembers;
|