This documentation is archived and is not being maintained.

ILGenerator.DeclareLocal Method

Declares a local variable.

Name Description
ILGenerator.DeclareLocal (Type) Declares a local variable of the specified type.
ILGenerator.DeclareLocal (Type, Boolean) Declares a local variable of the specified type, optionally pinning the object referred to by the variable.
Show: