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

LocalVariableInfo.LocalIndex Property

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

Gets the index of the local variable within the method body.

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

'Declaration
Public Overridable 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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft