Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CodeTypeConstructor Members

CodeTypeConstructor Members

Represents a static constructor for a class.

The CodeTypeConstructor type exposes the following members.

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

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (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.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
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 the user-definable data for the current object. (Inherited from CodeObject.)
Top

  NameDescription
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

Community Additions

ADD
Show:
© 2015 Microsoft