メモ : このコンストラクタは、互換性のために残されています。 旧式でない代替が必要な場合は、AssemblyFlagsAttribute(AssemblyNameFlags) を使用してください。
整数値としてキャストされている AssemblyNameFlags フラグの組み合わせを指定して、AssemblyFlagsAttribute クラスの新しいインスタンスを初期化します。
名前空間: System.Reflection
アセンブリ: mscorlib (mscorlib.dll 内)
構文
'宣言
<ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")> _
Public Sub New ( _
assemblyFlags As Integer _
)
'使用
Dim assemblyFlags As Integer
Dim instance As New AssemblyFlagsAttribute(assemblyFlags)
[ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public AssemblyFlagsAttribute (
int assemblyFlags
)
[ObsoleteAttribute(L"This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")]
public:
AssemblyFlagsAttribute (
int assemblyFlags
)
/** @attribute ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202") */
public AssemblyFlagsAttribute (
int assemblyFlags
)
ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. https://go.microsoft.com/fwlink/?linkid=14202")
public function AssemblyFlagsAttribute (
assemblyFlags : int
)
パラメータ
- assemblyFlags
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.1
2.0 では、互換性のために残されています (コンパイル時に警告)
.NET Compact Framework
サポート対象 : 1.0
2.0 では、互換性のために残されています (コンパイル時に警告)
参照
関連項目
AssemblyFlagsAttribute クラス
AssemblyFlagsAttribute メンバ
System.Reflection 名前空間