SignatureHelper.AddArgument Method (Type, Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Adds an argument of the specified type to the signature, specifying whether the argument is pinned.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- argument
- Type: System.Type
The argument type.
- pinned
- Type: System.Boolean
true if the argument is pinned; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | argument is null. |
To add an argument with optional or required custom modifiers, use the AddArgument(Type, Type[], Type[]) method overload.
Show: