System.Reflection.AssemblyFlagsAttribute Class

Specifies a bitwise combination of System.Reflection.AssemblyNameFlags flags for an assembly, describing just-in-time (JIT) compiler options, whether the assembly is retargetable, and whether it has a full or tokenized public key. This class cannot be inherited.

See Also: AssemblyFlagsAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly, Inherited=false)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AssemblyFlagsAttribute : Attribute

Remarks

The System.Reflection.AssemblyNameFlags enumeration describes the assembly characteristics that can be set using this attribute.

To access the flags that have been specified for an assembly, use the erload:System.Reflection.Assembly.GetName property to obtain an System.Reflection.AssemblyName object, then use the AssemblyName.Flags property to obtain an System.Reflection.AssemblyNameFlags value.

To specify System.Reflection.AssemblyNameFlags flags for a dynamic assembly, set the AssemblyName.Flags property of the System.Reflection.AssemblyName object that you pass to the erload:System.AppDomain.DefineDynamicAssembly method.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0