Returns an array of ConstructorInfo objects representing the public and non-public constructors defined for this class, as specified.
[Visual Basic] Overrides Public Function GetConstructors( _ ByVal bindingAttr As BindingFlags _ ) As ConstructorInfo () [C#] public override ConstructorInfo[] GetConstructors( BindingFlags bindingAttr ); [C++] public: override ConstructorInfo* GetConstructors( BindingFlags bindingAttr ) []; [JScript] public override function GetConstructors( bindingAttr : BindingFlags ) : ConstructorInfo[];
Returns an array of ConstructorInfo objects representing the specified constructors defined for this class. If no constructors are defined, an empty array is returned.
Exception Type | Condition |
---|---|
NotSupportedException | This method is not implemented. |
This method is not currently supported. As a workaround, retrieve the type using Type.GetType or Assembly.GetType and use reflection on the retrieved type.
NGWS Runtime Security:
ReflectionPermission | TypeInformation required for non-public members. |
TypeBuilder Class | TypeBuilder Members | System.Reflection.Emit Namespace