Sets the default value of the parameter.
[Visual Basic] Overridable Public Sub SetConstant( _ ByVal defaultValue As Object _ ) [C#] public virtual void SetConstant( object defaultValue ); [C++] public: virtual void SetConstant( Object* defaultValue ); [JScript] public function SetConstant( defaultValue : Object );
Should throw the following exception but currently does not:
InvalidOperationException if the containing type has been created using TypeBuilder.CreateType().
ParameterBuilder Class | ParameterBuilder Members | System.Reflection.Emit Namespace