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

取得不帶正負號的整數 (Unsigned Integer) 值,表示 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

屬性值

UInt32

不帶正負號的整數值,表示 AssemblyNameFlags 旗標的位元組合。

屬性

備註

這個屬性會傳回整數,以取得回溯相容性。 先將值 AssemblyNameFlags 轉換成類型,再使用它。

適用於

另請參閱