SetLocalSymInfo Method (String)
Collapse the table of content
Expand the table of content

LocalBuilder.SetLocalSymInfo Method (String)

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

Sets the name of this local variable.

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

'Declaration
Public Sub SetLocalSymInfo ( _
	name As String _
)

Parameters

name
Type: System.String
The name of the local variable.

ExceptionCondition
InvalidOperationException

There is no symbolic writer defined for the containing module.

NotSupportedException

This local is defined in a dynamic method, rather than in a method of a dynamic type.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft