Click or drag to resize
ConstructorInfo Class
Discovers the attributes of a class constructor and provides access to constructor metadata.
Inheritance Hierarchy

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
[SerializableAttribute]
public abstract class ConstructorInfo : MethodBase, 
	_ConstructorInfo

The ConstructorInfo type exposes the following members.

Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Overrides MethodBaseEquals(Object).)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides MethodBaseGetHashCode.)
Public methodGetParameters
When overridden in a derived class, gets the parameters of the specified method or constructor.
(Inherited from MethodBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke(Object)
Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used.
Public methodInvoke(BindingFlags, Binder, Object, CultureInfo)
When implemented in a derived class, invokes the constructor reflected by this ConstructorInfo with the specified arguments, under the constraints of the specified Binder.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberConstructorName
Represents the name of the class constructor method as it is stored in metadata. This name is always ".ctor". This field is read-only.
Public fieldStatic memberTypeConstructorName
Represents the name of the type constructor method as it is stored in metadata. This name is always ".cctor". This property is read-only.
Top
Properties
  NameDescription
Public propertyName
Gets the name of the current member.
(Inherited from MemberInfo.)
Top
See Also