AssemblyFlagsAttribute.Flags 屬性

定義

警告

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

警告

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 旗標的組合,這些旗標是在建立此屬性執行個體時所指定。Gets an unsigned integer value representing the combination of AssemblyNameFlags flags specified when this attribute instance was created.

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; }
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
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 旗標的位元組合。An unsigned integer value representing a bitwise combination of AssemblyNameFlags flags.

屬性

備註

這個屬性會傳回整數以提供回溯相容性。This property returns an integer for backward compatibility. 在使用之前,將值轉換為 AssemblyNameFlags 類型。Cast the value to the AssemblyNameFlags type before using it.

適用於

另請參閱