AssemblyFlagsAttribute.Flags Właściwość

Definicja

Przestroga

This property has been deprecated. Please use AssemblyFlags instead. https://go.microsoft.com/fwlink/?linkid=14202

Przestroga

AssemblyFlagsAttribute.Flags has been deprecated. Use AssemblyFlags instead.

Przestroga

This property has been deprecated. Please use AssemblyFlags instead. http://go.microsoft.com/fwlink/?linkid=14202

Ważne

Ten interfejs API nie jest zgodny ze specyfikacją CLS.

Alternatywa zgodna ze specyfikacją CLS
System.Reflection.AssemblyFlagsAttribute.AssemblyFlags

Pobiera niepodpisaną wartość całkowitą reprezentującą kombinację AssemblyNameFlags flag określonych podczas tworzenia tego wystąpienia atrybutu.

C#
[System.CLSCompliant(false)]
[System.Obsolete("This property has been deprecated. Please use AssemblyFlags instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public uint Flags { get; }
C#
[System.CLSCompliant(false)]
[System.Obsolete("AssemblyFlagsAttribute.Flags has been deprecated. Use AssemblyFlags instead.")]
public uint Flags { get; }
C#
[System.CLSCompliant(false)]
[System.Obsolete("This property has been deprecated. Please use AssemblyFlags instead. http://go.microsoft.com/fwlink/?linkid=14202")]
public uint Flags { get; }
C#
[System.CLSCompliant(false)]
public uint Flags { get; }

Wartość właściwości

Niepodpisane wartości całkowite reprezentujące bitową kombinację AssemblyNameFlags flag.

Atrybuty

Uwagi

Ta właściwość zwraca liczbę całkowitą na potrzeby zgodności z poprzednimi wersjami. Rzutuj wartość na AssemblyNameFlags typ przed jego użyciem.

Dotyczy

Produkt Wersje (Przestarzałe)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9)
.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)
.NET Standard (2.0, 2.1)

Zobacz też