System.Reflection.Emit.Label Structure

Assembly: Mscorlib.dll
Namespace: System.Reflection.Emit
Summary
Represents a label in the instruction stream.Label is used in conjunction with the ILGenerator class.
C# Syntax:
[Serializable]
public struct Label
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.
See also:
System.Reflection.Emit Namespace

System.Reflection.Emit.Label Member List:

Public Methods
Equals Overridden:
Checks if the given object is an instance of Label and is equal to this instance.
GetHashCode Overridden:
Generates a hash code for this instance.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.ValueType)
See base class member description: System.ValueType.ToString


Returns the fully qualified type name of this instance.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Reflection.Emit.Label Member Details

Overridden Method: Equals(
   object obj
)
Summary
Checks if the given object is an instance of Label and is equal to this instance.
C# Syntax:
public override bool Equals(
   object obj
);
Parameters:

obj

The object to compare with this Label instance.

Return Value:
Returns true if obj is an instance of Label and is equal to this object; otherwise, false.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~Label();

For more information on members inherited from System.Object click on the link above.

Return to top


Overridden Method: GetHashCode()
Summary
Generates a hash code for this instance.
C# Syntax:
public override int GetHashCode();
Return Value:
Returns a hash code for this instance.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.ValueType.ToString

Summary
Returns the fully qualified type name of this instance.
C# Syntax:
public override string ToString();
Return Value:
A String containing a fully qualified type name.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.