Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Label Structure

Represents a label in the instruction stream. Label is used in conjunction with the ILGenerator class.

For a list of all members of this type, see Label Members.

System.Object
   System.ValueType
      System.Reflection.Emit.Label

[Visual Basic]
<Serializable>
Public Structure Label
[C#]
[Serializable]
public struct Label
[C++]
[Serializable]
public __value struct Label

[JScript] In JScript, you can use the structures in the .NET Framework, but you cannot define your own.

Thread Safety

Reflection Emit is thread-safe when using assemblies that were created with the AppDomain.DefineDynamicAssembly method with the Boolean parameter isSynchronized set to true.

Requirements

Namespace: System.Reflection.Emit

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

Label Members | System.Reflection.Emit Namespace

Show:
© 2017 Microsoft