Type.GetAttributeFlagsImpl 方法

定義

在衍生類別中覆寫時,實作 Attributes 屬性 (Property) 並取得列舉值的位元組合,以指出與 Type 建立關聯的屬性 (Attribute)。

C#
protected abstract System.Reflection.TypeAttributes GetAttributeFlagsImpl ();

傳回

TypeAttributes

TypeAttributes 物件,代表 Type 的屬性集。

適用於

產品 版本
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7
.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
.NET Standard 2.0, 2.1

另請參閱