System.Reflection.Emit.ConstructorBuilder.GetParameters Method

Returns the parameters of this constructor.

Syntax

public override System.Reflection.ParameterInfo[] GetParameters ()

Returns

Returns an array of System.Reflection.ParameterInfo objects that represent the parameters of this constructor.

Remarks

This property is not supported until after the TypeBuilder.CreateType method has been called. In the .NET Framework versions 1.0 and 1.1, InvalidOperationException is thrown. In the .NET Framework version 2.0, NotSupportedException is thrown.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0