ConstructorInfo Class |
Namespace: System.Reflection
[SerializableAttribute] public abstract class ConstructorInfo : MethodBase, _ConstructorInfo
The ConstructorInfo type exposes the following members.
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether this instance is equal to a specified object. (Overrides MethodBaseEquals(Object).) | |
GetHashCode | Returns the hash code for this instance. (Overrides MethodBaseGetHashCode.) | |
GetParameters | When overridden in a derived class, gets the parameters of the specified method or constructor. (Inherited from MethodBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invoke(Object) | Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used. | |
Invoke(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. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
ConstructorName | Represents the name of the class constructor method as it is stored in metadata. This name is always ".ctor". This field is read-only. | |
TypeConstructorName | Represents the name of the type constructor method as it is stored in metadata. This name is always ".cctor". This property is read-only. |
Name | Description | |
---|---|---|
Name | Gets the name of the current member. (Inherited from MemberInfo.) |