LocalIndex Property
Collapse the table of content
Expand the table of content

LocalBuilder.LocalIndex Property

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

Gets the zero-based index of the local variable within the method body.

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

'Declaration
Public Overrides ReadOnly Property LocalIndex As Integer

Property Value

Type: System.Int32
An integer value that represents the order of declaration of the local variable within the method body.

Index numbers are assigned to local variables in the order in which they are declared or emitted, beginning with zero.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft