AddArgument Method (Type)
Collapse the table of content
Expand the table of content

SignatureHelper.AddArgument Method (Type)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Adds an argument to the signature.

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

'Declaration
Public Sub AddArgument ( _
	clsArgument As Type _
)

Parameters

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

ExceptionCondition
ArgumentException

The signature has already been finished.

ArgumentNullException

clsArgument is Nothing.

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft