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.

Exception Condition
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.

.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 8.0
Return to top
Show: