Export (0) Print
Expand All

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)

[SecuritySafeCriticalAttribute]
public void AddArgument(
	Type argument,
	bool pinned
)

Parameters

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

ExceptionCondition
ArgumentNullException

argument 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:
© 2014 Microsoft