Label Structure

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

[SerializableAttribute]
[ComVisibleAttribute(true)]
public struct Label

NameDescription
System_CAPS_pubmethodEquals(Label)

Indicates whether the current instance is equal to the specified Label.

System_CAPS_pubmethodEquals(Object)

Checks if the given object is an instance of Label and is equal to this instance.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Generates a hash code for this instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(Label, Label)

Indicates whether two Label structures are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(Label, Label)

Indicates whether two Label structures are not equal.

.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: