Label Label Label Label Struct

定義

表示指令資料流中的標記 (Label)。Represents a label in the instruction stream. Label 會與 ILGenerator 類別結合使用。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)

指出目前的執行個體和指定的 Label 是否相等。Indicates 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.

適用於