This documentation is archived and is not being maintained.

CodeTypeConstructor Members

Represents a static constructor for a class.

The following tables list the members exposed by the CodeTypeConstructor type.

  Name Description
Public method CodeTypeConstructor Initializes a new instance of the CodeTypeConstructor class.
Top

  Name Description
Public property Attributes  Gets or sets the attributes of the member.(inherited from CodeTypeMember)
Public property Comments  Gets the collection of comments for the type member.(inherited from CodeTypeMember)
Public property CustomAttributes  Gets or sets the custom attributes of the member.(inherited from CodeTypeMember)
Public property EndDirectives  Gets the end directives for the member.(inherited from CodeTypeMember)
Public property ImplementationTypes  Gets the data types of the interfaces implemented by this method, unless it is a private method implementation, which is indicated by the PrivateImplementationType property.(inherited from CodeMemberMethod)
Public property LinePragma  Gets or sets the line on which the type member statement occurs.(inherited from CodeTypeMember)
Public property Name  Gets or sets the name of the member.(inherited from CodeTypeMember)
Public property Parameters  Gets the parameter declarations for the method.(inherited from CodeMemberMethod)
Public property PrivateImplementationType  Gets or sets the data type of the interface this method, if private, implements a method of, if any.(inherited from CodeMemberMethod)
Public property ReturnType  Gets or sets the data type of the return value of the method.(inherited from CodeMemberMethod)
Public property ReturnTypeCustomAttributes  Gets the custom attributes of the return type of the method.(inherited from CodeMemberMethod)
Public property StartDirectives  Gets the start directives for the member.(inherited from CodeTypeMember)
Public property Statements  Gets the statements within the method.(inherited from CodeMemberMethod)
Public property TypeParameters  Gets the type parameters for the current generic method.(inherited from CodeMemberMethod)
Public property UserData  Gets or sets the user-definable data for the current object.(inherited from CodeObject)
Top

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

  Name Description
Public event PopulateImplementationTypes  An event that will be raised the first time the ImplementationTypes collection is accessed.(inherited from CodeMemberMethod)
Public event PopulateParameters  An event that will be raised the first time the Parameters collection is accessed.(inherited from CodeMemberMethod)
Public event PopulateStatements  An event that will be raised the first time the Statements collection is accessed.(inherited from CodeMemberMethod)
Top
Show: