メモ : このコンストラクタは、互換性のために残されています。 旧式でない代替が必要な場合は、AssemblyFlagsAttribute(AssemblyNameFlags) を使用してください。
符号なし整数値としてキャストされている AssemblyNameFlags フラグの組み合わせを指定して、AssemblyFlagsAttribute クラスの新しいインスタンスを初期化します。
このコンストラクタは、CLS に準拠していません。 CLS に準拠する代替が必要な場合は、AssemblyFlagsAttribute(AssemblyNameFlags) を使用してください。
名前空間: System.Reflection
アセンブリ: mscorlib (mscorlib.dll 内)
構文
'宣言
<ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")> _
<CLSCompliantAttribute(False)> _
Public Sub New ( _
flags As UInteger _
)
'使用
Dim flags As UInteger
Dim instance As New AssemblyFlagsAttribute(flags)
[ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")]
[CLSCompliantAttribute(false)]
public AssemblyFlagsAttribute (
uint flags
)
[ObsoleteAttribute(L"This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")]
[CLSCompliantAttribute(false)]
public:
AssemblyFlagsAttribute (
unsigned int flags
)
/** @attribute ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202") */
/** @attribute CLSCompliantAttribute(false) */
public AssemblyFlagsAttribute (
UInt32 flags
)
ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")
CLSCompliantAttribute(false)
public function AssemblyFlagsAttribute (
flags : uint
)
パラメータ
- flags
Just-In-Time (JIT) コンパイラのオプション、有効期限、そのアセンブリが再ターゲット可能かどうか、およびそのアセンブリが完全な公開キーとトークン化された公開キーのどちらを保有しているのかを示す、符号なし整数値としてキャストされた AssemblyNameFlags フラグのビットごとの組み合わせ。
解説
型を指定しないこのコンストラクタは、互換性のために残されています。使用しないでください。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 1.0、1.1
2.0 では、互換性のために残されています (コンパイル時に警告)
.NET Compact Framework
サポート対象 : 1.0
2.0 では、互換性のために残されています (コンパイル時に警告)
参照
関連項目
AssemblyFlagsAttribute クラス
AssemblyFlagsAttribute メンバ
System.Reflection 名前空間