SignatureHelper.AddArgument Method (Type, Boolean)

Adds an argument of the specified type to the signature, specifying whether the argument is pinned.

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

'Declaration
<SecuritySafeCriticalAttribute> _
Public Sub AddArgument ( _
	argument As Type, _
	pinned As Boolean _
)

Parameters

argument
Type: System.Type
The argument type.
pinned
Type: System.Boolean
true if the argument is pinned; otherwise, false.

ExceptionCondition
ArgumentNullException

argument is Nothing.

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: