PropertyToken 結構
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
PropertyToken
結構是 Token
的不透明表示,由中繼資料 (Metadata) 傳回以表示屬性。
public value class PropertyToken
C#
[System.Serializable]
public struct PropertyToken
C#
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public struct PropertyToken
[<System.Serializable>]
type PropertyToken = struct
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type PropertyToken = struct
Public Structure PropertyToken
- 繼承
- 屬性
Token |
擷取這個屬性的中繼資料語彙基元 (Token)。 |
Equals(Object) |
檢查指定物件是否為 |
Equals(Property |
指出目前的執行個體和指定的 PropertyToken 是否相等。 |
Get |
產生這個屬性的雜湊碼。 |
Equality(Property |
指出兩個 PropertyToken 結構是否相等。 |
Inequality(Property |
指出兩個 PropertyToken 結構是否不相等。 |
產品 | 版本 |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |