TypeGetConstructors Method |
Returns all the public constructors defined for the current
Type.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public ConstructorInfo[] GetConstructors()
Return Value
Type:
ConstructorInfoAn array of
ConstructorInfo objects representing all the public instance constructors defined for the current
Type, but not including the type initializer (static constructor). If no public instance constructors are defined for the current
Type, or if the current
Type represents a type parameter in the definition of a generic type or generic method, an empty array of type
ConstructorInfo is returned.
See Also