ConstructorInfo Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Discovers the attributes of a class constructor and provides access to constructor metadata.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
public abstract class ConstructorInfo : MethodBase

The ConstructorInfo type exposes the following members.

  NameDescription
Protected methodConstructorInfoInitializes a new instance of the ConstructorInfo class.
Top

  NameDescription
Public propertyDeclaringTypeGets the class that declares the current method. (Inherited from MethodBase.)
Public propertyIsAbstractGets a value indicating whether the method is abstract. (Inherited from MethodBase.)
Public propertyIsFinalGets a value indicating whether this method is final. (Inherited from MethodBase.)
Public propertyIsPublicGets a value indicating whether this is a public method. (Inherited from MethodBase.)
Public propertyIsStaticGets a value indicating whether the method is static. (Inherited from MethodBase.)
Public propertyIsVirtualGets a value indicating whether the method is virtual. (Inherited from MethodBase.)
Public propertyMemberTypeGets a MemberTypes value indicating that this member is a constructor. (Overrides MemberInfo..::..MemberType.)
Public propertyNameGets the name of the current method. (Inherited from MethodBase.)
Top

  NameDescription
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInvoke(array<Object>[]()[][])Invokes the constructor reflected by the instance that has the specified parameters, providing default values for the parameters not commonly used.
Public methodInvoke(Object, array<Object>[]()[][])Invokes the method or constructor represented by the current instance, using the specified parameters. (Inherited from MethodBase.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: