AssemblyFlagsAttribute.Flags 属性

定义

注意

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

注意

AssemblyFlagsAttribute.Flags has been deprecated. Use AssemblyFlags instead.

注意

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

重要

此 API 不符合 CLS。

符合 CLS 的替代方案
System.Reflection.AssemblyFlagsAttribute.AssemblyFlags

获取一个无符号整数值,该值表示创建此属性实例时指定的 AssemblyNameFlags 标志的组合。

public:
 property System::UInt32 Flags { System::UInt32 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("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. http://go.microsoft.com/fwlink/?linkid=14202")]
public uint Flags { get; }
[System.CLSCompliant(false)]
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")>]
member this.Flags : uint32
[<System.CLSCompliant(false)>]
[<System.Obsolete("AssemblyFlagsAttribute.Flags has been deprecated. Use AssemblyFlags instead.")>]
member this.Flags : uint32
[<System.CLSCompliant(false)>]
[<System.Obsolete("This property has been deprecated. Please use AssemblyFlags instead. http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Flags : uint32
[<System.CLSCompliant(false)>]
member this.Flags : uint32
Public ReadOnly Property Flags As UInteger

属性值

一个无符号整数值,表示 AssemblyNameFlags 标志的按位组合。

属性

注解

此属性返回一个整数以实现向后兼容。 使用前将 AssemblyNameFlags 值强制转换为类型。

适用于

另请参阅