Label Label Label Label Struct

定义

表示指令流中的标签。Represents a label in the instruction stream. LabelILGenerator 类一起使用。Label is used in conjunction with the ILGenerator class.

public value class Label
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public struct Label
type Label = struct
Public Structure Label
继承
属性

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

检查给定对象是否为 Label 的实例和是否等于此实例。Checks if the given object is an instance of Label and is equal to this instance.

Equals(Label) Equals(Label) Equals(Label) Equals(Label)

指示当前实例是否等于指定的 LabelIndicates whether the current instance is equal to the specified Label.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

生成此实例的哈希代码。Generates a hash code for this instance.

操作员

Equality(Label, Label) Equality(Label, Label) Equality(Label, Label) Equality(Label, Label)

指示两个 Label 结构是否相等。Indicates whether two Label structures are equal.

Inequality(Label, Label) Inequality(Label, Label) Inequality(Label, Label) Inequality(Label, Label)

指示两个 Label 结构是否不相等。Indicates whether two Label structures are not equal.

适用于