AssemblyFlagsAttribute.Flags Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

clsCompliantAlternativeP:System.Reflection.AssemblyFlagsAttribute.AssemblyFlagsobsoleteCodeEntityP:System.Reflection.AssemblyFlagsAttribute.AssemblyFlagsNote: This API is now obsolete.

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

This API is not CLS-compliant.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

[ObsoleteAttribute("This property has been deprecated. Please use AssemblyFlags instead.")]
public uint Flags { get; }

Property Value

Type: System.UInt32

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

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

.NET Framework
Available since 1.1
Return to top