AssemblyFlagsAttribute.Flags Property

Definition

Caution

AssemblyFlagsAttribute.Flags has been deprecated. Use AssemblyFlags instead.

Caution

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

Caution

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

Important

This API is not CLS-compliant.

CLS-compliant alternative
System.Reflection.AssemblyFlagsAttribute.AssemblyFlags

Gets an unsigned integer value representing the combination of AssemblyNameFlags flags specified when this attribute instance was created.

[System.CLSCompliant(false)]
[System.Obsolete("AssemblyFlagsAttribute.Flags has been deprecated. Use AssemblyFlags instead.")]
public uint Flags { get; }
[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; }
[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; }
[System.CLSCompliant(false)]
public uint Flags { get; }

Property Value

An unsigned integer value representing a bitwise combination of AssemblyNameFlags flags.

Attributes

Remarks

This property returns an integer for backward compatibility. Cast the value to the AssemblyNameFlags type before using it.

Applies to

Product Versions (Obsolete)
.NET (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10)
.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)

See also