SignatureHelper.AddArgument Method (Type)

Adds an argument to the signature.

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

public void AddArgument(
	Type clsArgument
)

Parameters

clsArgument
Type: System.Type
The type of the argument.

ExceptionCondition
ArgumentException

The signature has already been finished.

ArgumentNullException

clsArgument is null.

To add an argument with optional or required custom modifiers, use the AddArgument(Type, Type[], Type[]) method overload.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: