AssemblyFlagsAttribute クラス
アセンブリ: mscorlib (mscorlib.dll 内)

<ComVisibleAttribute(True)> _ <AttributeUsageAttribute(AttributeTargets.Assembly, Inherited:=False)> _ Public NotInheritable Class AssemblyFlagsAttribute Inherits Attribute
[ComVisibleAttribute(true)] [AttributeUsageAttribute(AttributeTargets.Assembly, Inherited=false)] public sealed class AssemblyFlagsAttribute : Attribute
[ComVisibleAttribute(true)] [AttributeUsageAttribute(AttributeTargets::Assembly, Inherited=false)] public ref class AssemblyFlagsAttribute sealed : public Attribute

AssemblyNameFlags 列挙体は、アセンブリの特性を示し、この属性を使用して設定できます。
アセンブリに対して指定されたフラグを調べるには、System.Reflection.Assembly.GetName プロパティを使用して AssemblyName オブジェクトを取得したうえで、AssemblyName.Flags プロパティを使用して AssemblyNameFlags 値を取得します。
動的アセンブリに対して AssemblyNameFlags フラグを指定するには、System.AppDomain.DefineDynamicAssembly メソッドに渡す AssemblyName オブジェクトの AssemblyName.Flags プロパティを設定します。

次のコード例は、アセンブリに AssemblyFlagsAttribute を適用する方法、およびフラグを実行時に読み込む方法を示しています。またこの例では、属性のインスタンスを作成し、AssemblyFlags プロパティを使用してフラグを表示しています。動的アセンブリに AssemblyFlagsAttribute を適用する方法の例については、AssemblyName.Flags プロパティを参照してください。
Imports System Imports System.Reflection ' Specify a combination of AssemblyNameFlags for this ' assembly. <Assembly:AssemblyFlagsAttribute( _ AssemblyNameFlags.EnableJITcompileOptimizer _ Or AssemblyNameFlags.Retargetable)> Public Class Example Public Shared Sub Main() ' Get the currently executing assembly, which is this ' assembly. Dim thisAsm As Assembly = _ Assembly.GetExecutingAssembly() ' Get the AssemblyName for the currently executing ' assembly. Dim thisAsmName As AssemblyName = thisAsm.GetName(False) ' Display the flags that were set for this assembly. ListFlags(thisAsmName.Flags) ' Create an instance of AssemblyFlagsAttribute with the ' same combination of flags that was specified for this ' assembly. Note that PublicKey is included automatically ' for the assembly, but not for this instance of ' AssemblyFlagsAttribute. Dim afa As New AssemblyFlagsAttribute( _ AssemblyNameFlags.EnableJITcompileOptimizer _ Or AssemblyNameFlags.Retargetable) ' Get the flags. The property returns an integer, so ' the return value must be cast to AssemblyNameFlags. Dim anf As AssemblyNameFlags = _ CType(afa.AssemblyFlags, AssemblyNameFlags) ' Display the flags. Console.WriteLine() ListFlags(anf) End Sub Private Shared Sub ListFlags(ByVal anf As AssemblyNameFlags) If anf = AssemblyNameFlags.None Then Console.WriteLine("AssemblyNameFlags.None") Else If 0 <> (anf And AssemblyNameFlags.Retargetable) Then _ Console.WriteLine("AssemblyNameFlags.Retargetable") If 0 <> (anf And AssemblyNameFlags.PublicKey) Then _ Console.WriteLine("AssemblyNameFlags.PublicKey") If 0 <> (anf And AssemblyNameFlags.EnableJITcompileOptimizer) Then _ Console.WriteLine("AssemblyNameFlags.EnableJITcompileOptimizer") If 0 <> (anf And AssemblyNameFlags.EnableJITcompileTracking) Then _ Console.WriteLine("AssemblyNameFlags.EnableJITcompileTracking") End If End SUb End Class ' This code example produces the following output: ' 'AssemblyNameFlags.Retargetable 'AssemblyNameFlags.PublicKey 'AssemblyNameFlags.EnableJITcompileOptimizer ' 'AssemblyNameFlags.Retargetable 'AssemblyNameFlags.EnableJITcompileOptimizer
using System; using System.Reflection; // Specify a combination of AssemblyNameFlags for this // assembly. [assembly:AssemblyFlagsAttribute( AssemblyNameFlags.EnableJITcompileOptimizer | AssemblyNameFlags.Retargetable)] public class Example { public static void Main() { // Get the currently executing assembly, which is this // assembly. Assembly thisAsm = Assembly.GetExecutingAssembly(); // Get the AssemblyName for the currently executing // assembly. AssemblyName thisAsmName = thisAsm.GetName(false); // Display the flags that were set for this assembly. ListFlags(thisAsmName.Flags); // Create an instance of AssemblyFlagsAttribute with the // same combination of flags that was specified for this // assembly. Note that PublicKey is included automatically // for the assembly, but not for this instance of // AssemblyFlagsAttribute. AssemblyFlagsAttribute afa = new AssemblyFlagsAttribute( AssemblyNameFlags.EnableJITcompileOptimizer | AssemblyNameFlags.Retargetable); // Get the flags. The property returns an integer, so // the return value must be cast to AssemblyNameFlags. AssemblyNameFlags anf = (AssemblyNameFlags) afa.AssemblyFlags; // Display the flags. Console.WriteLine(); ListFlags(anf); } private static void ListFlags(AssemblyNameFlags anf) { if (anf == AssemblyNameFlags.None) { Console.WriteLine("AssemblyNameFlags.None"); } else { if (0!=(anf & AssemblyNameFlags.Retargetable)) Console.WriteLine("AssemblyNameFlags.Retargetable"); if (0!=(anf & AssemblyNameFlags.PublicKey)) Console.WriteLine("AssemblyNameFlags.PublicKey"); if (0!=(anf & AssemblyNameFlags.EnableJITcompileOptimizer)) Console.WriteLine("AssemblyNameFlags.EnableJITcompileOptimizer"); if (0!=(anf & AssemblyNameFlags.EnableJITcompileTracking)) Console.WriteLine("AssemblyNameFlags.EnableJITcompileTracking"); } } } /* This code example produces the following output: AssemblyNameFlags.Retargetable AssemblyNameFlags.PublicKey AssemblyNameFlags.EnableJITcompileOptimizer AssemblyNameFlags.Retargetable AssemblyNameFlags.EnableJITcompileOptimizer */
using namespace System; using namespace System::Reflection; // Specify a combination of AssemblyNameFlags for this // assembly. [assembly:AssemblyFlagsAttribute( AssemblyNameFlags::EnableJITcompileOptimizer | AssemblyNameFlags::Retargetable)]; public ref class Example { public: static void Main() { // Get the currently executing assembly, which is this // assembly. Assembly^ thisAsm = Assembly::GetExecutingAssembly(); // Get the AssemblyName for the currently executing // assembly. AssemblyName^ thisAsmName = thisAsm->GetName( false ); // Display the flags that were set for this assembly. ListFlags( thisAsmName->Flags ); // Create an instance of AssemblyFlagsAttribute with the // same combination of flags that was specified for this // assembly. Note that PublicKey is included automatically // for the assembly, but not for this instance of // AssemblyFlagsAttribute. AssemblyFlagsAttribute^ afa = gcnew AssemblyFlagsAttribute( static_cast<AssemblyNameFlags> (AssemblyNameFlags::EnableJITcompileOptimizer | AssemblyNameFlags::Retargetable) ); // Get the flags. The property returns an integer, so // the return value must be cast to AssemblyNameFlags. AssemblyNameFlags anf = static_cast<AssemblyNameFlags>(afa->AssemblyFlags); // Display the flags. Console::WriteLine(); ListFlags( anf ); } private: static void ListFlags( AssemblyNameFlags anf ) { if ( anf == AssemblyNameFlags::None ) { Console::WriteLine( L"AssemblyNameFlags.None" ); } else { if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::Retargetable) ) Console::WriteLine( L"AssemblyNameFlags.Retargetable" ); if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::PublicKey) ) Console::WriteLine( L"AssemblyNameFlags.PublicKey" ); if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::EnableJITcompileOptimizer) ) Console::WriteLine( L"AssemblyNameFlags.EnableJITcompileOptimizer" ); if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::EnableJITcompileTracking) ) Console::WriteLine( L"AssemblyNameFlags.EnableJITcompileTracking" ); } } }; int main() { Example::Main(); } /* This code example produces the following output: AssemblyNameFlags.Retargetable AssemblyNameFlags.PublicKey AssemblyNameFlags.EnableJITcompileOptimizer AssemblyNameFlags.Retargetable AssemblyNameFlags.EnableJITcompileOptimizer */

System.Attribute
System.Reflection.AssemblyFlagsAttribute


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


AssemblyFlagsAttribute メンバ
System.Reflection 名前空間
AssemblyNameFlags
System.Reflection.Assembly.GetName
AssemblyName.Flags
AssemblyFlagsAttribute コンストラクタ (Int32)
メモ : このコンストラクタは、互換性のために残されています。 旧式でない代替が必要な場合は、AssemblyFlagsAttribute(AssemblyNameFlags) を使用してください。
整数値としてキャストされている AssemblyNameFlags フラグの組み合わせを指定して、AssemblyFlagsAttribute クラスの新しいインスタンスを初期化します。 名前空間: System.Reflectionアセンブリ: mscorlib (mscorlib.dll 内)

<ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")> _ Public Sub New ( _ assemblyFlags As Integer _ )
[ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public AssemblyFlagsAttribute ( int assemblyFlags )
[ObsoleteAttribute(L"This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")] public: AssemblyFlagsAttribute ( int assemblyFlags )
/** @attribute ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202") */ public AssemblyFlagsAttribute ( int assemblyFlags )
ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202") public function AssemblyFlagsAttribute ( assemblyFlags : int )


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

サポート対象 : 1.1
2.0 では、互換性のために残されています (コンパイル時に警告)
.NET Compact Framework
サポート対象 : 1.0
2.0 では、互換性のために残されています (コンパイル時に警告)

AssemblyFlagsAttribute コンストラクタ (UInt32)
メモ : このコンストラクタは、互換性のために残されています。 旧式でない代替が必要な場合は、AssemblyFlagsAttribute(AssemblyNameFlags) を使用してください。
符号なし整数値としてキャストされている AssemblyNameFlags フラグの組み合わせを指定して、AssemblyFlagsAttribute クラスの新しいインスタンスを初期化します。 このコンストラクタは、CLS に準拠していません。 CLS に準拠する代替が必要な場合は、AssemblyFlagsAttribute(AssemblyNameFlags) を使用してください。名前空間: System.Reflectionアセンブリ: mscorlib (mscorlib.dll 内)

<ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")> _ <CLSCompliantAttribute(False)> _ Public Sub New ( _ flags As UInteger _ )
[ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202")] [CLSCompliantAttribute(false)] public AssemblyFlagsAttribute ( uint flags )
[ObsoleteAttribute(L"This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://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. http://go.microsoft.com/fwlink/?linkid=14202") */ /** @attribute CLSCompliantAttribute(false) */ public AssemblyFlagsAttribute ( UInt32 flags )
ObsoleteAttribute("This constructor has been deprecated. Please use AssemblyFlagsAttribute(AssemblyNameFlags) instead. http://go.microsoft.com/fwlink/?linkid=14202") CLSCompliantAttribute(false) public function AssemblyFlagsAttribute ( flags : uint )


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。

サポート対象 : 1.0、1.1
2.0 では、互換性のために残されています (コンパイル時に警告)
.NET Compact Framework
サポート対象 : 1.0
2.0 では、互換性のために残されています (コンパイル時に警告)

AssemblyFlagsAttribute コンストラクタ

名前 | 説明 |
---|---|
AssemblyFlagsAttribute (AssemblyNameFlags) | AssemblyNameFlags フラグの組み合わせを指定して AssemblyFlagsAttribute クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
AssemblyFlagsAttribute (Int32) | 整数値としてキャストされている AssemblyNameFlags フラグの組み合わせを指定して、AssemblyFlagsAttribute クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |
AssemblyFlagsAttribute (UInt32) | 符号なし整数値としてキャストされている AssemblyNameFlags フラグの組み合わせを指定して、AssemblyFlagsAttribute クラスの新しいインスタンスを初期化します。 .NET Compact Framework によってサポートされています。 |

AssemblyFlagsAttribute コンストラクタ (AssemblyNameFlags)
アセンブリ: mscorlib (mscorlib.dll 内)


次のコード例は、アセンブリに AssemblyFlagsAttribute を適用する方法、およびフラグを実行時に読み込む方法を示しています。またこの例では、属性のインスタンスを作成し、AssemblyFlags プロパティを使用してフラグを表示しています。動的アセンブリに AssemblyFlagsAttribute を適用する方法の例については、AssemblyName.Flags プロパティを参照してください。
Imports System Imports System.Reflection ' Specify a combination of AssemblyNameFlags for this ' assembly. <Assembly:AssemblyFlagsAttribute( _ AssemblyNameFlags.EnableJITcompileOptimizer _ Or AssemblyNameFlags.Retargetable)> Public Class Example Public Shared Sub Main() ' Get the currently executing assembly, which is this ' assembly. Dim thisAsm As Assembly = _ Assembly.GetExecutingAssembly() ' Get the AssemblyName for the currently executing ' assembly. Dim thisAsmName As AssemblyName = thisAsm.GetName(False) ' Display the flags that were set for this assembly. ListFlags(thisAsmName.Flags) ' Create an instance of AssemblyFlagsAttribute with the ' same combination of flags that was specified for this ' assembly. Note that PublicKey is included automatically ' for the assembly, but not for this instance of ' AssemblyFlagsAttribute. Dim afa As New AssemblyFlagsAttribute( _ AssemblyNameFlags.EnableJITcompileOptimizer _ Or AssemblyNameFlags.Retargetable) ' Get the flags. The property returns an integer, so ' the return value must be cast to AssemblyNameFlags. Dim anf As AssemblyNameFlags = _ CType(afa.AssemblyFlags, AssemblyNameFlags) ' Display the flags. Console.WriteLine() ListFlags(anf) End Sub Private Shared Sub ListFlags(ByVal anf As AssemblyNameFlags) If anf = AssemblyNameFlags.None Then Console.WriteLine("AssemblyNameFlags.None") Else If 0 <> (anf And AssemblyNameFlags.Retargetable) Then _ Console.WriteLine("AssemblyNameFlags.Retargetable") If 0 <> (anf And AssemblyNameFlags.PublicKey) Then _ Console.WriteLine("AssemblyNameFlags.PublicKey") If 0 <> (anf And AssemblyNameFlags.EnableJITcompileOptimizer) Then _ Console.WriteLine("AssemblyNameFlags.EnableJITcompileOptimizer") If 0 <> (anf And AssemblyNameFlags.EnableJITcompileTracking) Then _ Console.WriteLine("AssemblyNameFlags.EnableJITcompileTracking") End If End SUb End Class ' This code example produces the following output: ' 'AssemblyNameFlags.Retargetable 'AssemblyNameFlags.PublicKey 'AssemblyNameFlags.EnableJITcompileOptimizer ' 'AssemblyNameFlags.Retargetable 'AssemblyNameFlags.EnableJITcompileOptimizer
using System; using System.Reflection; // Specify a combination of AssemblyNameFlags for this // assembly. [assembly:AssemblyFlagsAttribute( AssemblyNameFlags.EnableJITcompileOptimizer | AssemblyNameFlags.Retargetable)] public class Example { public static void Main() { // Get the currently executing assembly, which is this // assembly. Assembly thisAsm = Assembly.GetExecutingAssembly(); // Get the AssemblyName for the currently executing // assembly. AssemblyName thisAsmName = thisAsm.GetName(false); // Display the flags that were set for this assembly. ListFlags(thisAsmName.Flags); // Create an instance of AssemblyFlagsAttribute with the // same combination of flags that was specified for this // assembly. Note that PublicKey is included automatically // for the assembly, but not for this instance of // AssemblyFlagsAttribute. AssemblyFlagsAttribute afa = new AssemblyFlagsAttribute( AssemblyNameFlags.EnableJITcompileOptimizer | AssemblyNameFlags.Retargetable); // Get the flags. The property returns an integer, so // the return value must be cast to AssemblyNameFlags. AssemblyNameFlags anf = (AssemblyNameFlags) afa.AssemblyFlags; // Display the flags. Console.WriteLine(); ListFlags(anf); } private static void ListFlags(AssemblyNameFlags anf) { if (anf == AssemblyNameFlags.None) { Console.WriteLine("AssemblyNameFlags.None"); } else { if (0!=(anf & AssemblyNameFlags.Retargetable)) Console.WriteLine("AssemblyNameFlags.Retargetable"); if (0!=(anf & AssemblyNameFlags.PublicKey)) Console.WriteLine("AssemblyNameFlags.PublicKey"); if (0!=(anf & AssemblyNameFlags.EnableJITcompileOptimizer)) Console.WriteLine("AssemblyNameFlags.EnableJITcompileOptimizer"); if (0!=(anf & AssemblyNameFlags.EnableJITcompileTracking)) Console.WriteLine("AssemblyNameFlags.EnableJITcompileTracking"); } } } /* This code example produces the following output: AssemblyNameFlags.Retargetable AssemblyNameFlags.PublicKey AssemblyNameFlags.EnableJITcompileOptimizer AssemblyNameFlags.Retargetable AssemblyNameFlags.EnableJITcompileOptimizer */
using namespace System; using namespace System::Reflection; // Specify a combination of AssemblyNameFlags for this // assembly. [assembly:AssemblyFlagsAttribute( AssemblyNameFlags::EnableJITcompileOptimizer | AssemblyNameFlags::Retargetable)]; public ref class Example { public: static void Main() { // Get the currently executing assembly, which is this // assembly. Assembly^ thisAsm = Assembly::GetExecutingAssembly(); // Get the AssemblyName for the currently executing // assembly. AssemblyName^ thisAsmName = thisAsm->GetName( false ); // Display the flags that were set for this assembly. ListFlags( thisAsmName->Flags ); // Create an instance of AssemblyFlagsAttribute with the // same combination of flags that was specified for this // assembly. Note that PublicKey is included automatically // for the assembly, but not for this instance of // AssemblyFlagsAttribute. AssemblyFlagsAttribute^ afa = gcnew AssemblyFlagsAttribute( static_cast<AssemblyNameFlags> (AssemblyNameFlags::EnableJITcompileOptimizer | AssemblyNameFlags::Retargetable) ); // Get the flags. The property returns an integer, so // the return value must be cast to AssemblyNameFlags. AssemblyNameFlags anf = static_cast<AssemblyNameFlags>(afa->AssemblyFlags); // Display the flags. Console::WriteLine(); ListFlags( anf ); } private: static void ListFlags( AssemblyNameFlags anf ) { if ( anf == AssemblyNameFlags::None ) { Console::WriteLine( L"AssemblyNameFlags.None" ); } else { if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::Retargetable) ) Console::WriteLine( L"AssemblyNameFlags.Retargetable" ); if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::PublicKey) ) Console::WriteLine( L"AssemblyNameFlags.PublicKey" ); if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::EnableJITcompileOptimizer) ) Console::WriteLine( L"AssemblyNameFlags.EnableJITcompileOptimizer" ); if ( 0 != static_cast<Int32>(anf & AssemblyNameFlags::EnableJITcompileTracking) ) Console::WriteLine( L"AssemblyNameFlags.EnableJITcompileTracking" ); } } }; int main() { Example::Main(); } /* This code example produces the following output: AssemblyNameFlags.Retargetable AssemblyNameFlags.PublicKey AssemblyNameFlags.EnableJITcompileOptimizer AssemblyNameFlags.Retargetable AssemblyNameFlags.EnableJITcompileOptimizer */

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


AssemblyFlagsAttribute プロパティ


関連項目
AssemblyFlagsAttribute クラスSystem.Reflection 名前空間
AssemblyNameFlags
System.Reflection.Assembly.GetName
AssemblyName.Flags
AssemblyFlagsAttribute メソッド

名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 ( Attribute から継承されます。) |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 ( Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 ( Attribute から継承されます。) |
![]() | GetHashCode | このインスタンスのハッシュ コードを返します。 ( Attribute から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 ( Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 ( Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 ( Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 ( Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 ( Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 ( Object から継承されます。) |

関連項目
AssemblyFlagsAttribute クラスSystem.Reflection 名前空間
AssemblyNameFlags
System.Reflection.Assembly.GetName
AssemblyName.Flags
AssemblyFlagsAttribute メンバ
Just-In-Time (JIT) コンパイラのオプション、そのアセンブリが再ターゲット可能かどうか、およびそのアセンブリが完全な公開キーとトークン化された公開キーのどちらを保有しているのかなどを示す、アセンブリの AssemblyNameFlags フラグの、ビットごとの組み合わせを指定します。このクラスは継承できません。
AssemblyFlagsAttribute データ型で公開されるメンバを以下の表に示します。



名前 | 説明 | |
---|---|---|
![]() | Equals | オーバーロードされます。 ( Attribute から継承されます。) |
![]() | GetCustomAttribute | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用された指定した型のカスタム属性を取得します。 (Attribute から継承されます。) |
![]() | GetCustomAttributes | オーバーロードされます。 アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されたカスタム属性の配列を取得します。 (Attribute から継承されます。) |
![]() | GetHashCode | このインスタンスのハッシュ コードを返します。 (Attribute から継承されます。) |
![]() | GetType | 現在のインスタンスの Type を取得します。 (Object から継承されます。) |
![]() | IsDefaultAttribute | 派生クラス内でオーバーライドされたときに、このインスタンスの値が派生クラスの既定値かどうかを示します。 (Attribute から継承されます。) |
![]() | IsDefined | オーバーロードされます。 指定した型のカスタム属性が、アセンブリ、モジュール、型のメンバ、またはメソッド パラメータに適用されているかどうかを判断します。 (Attribute から継承されます。) |
![]() | Match | 派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。 (Attribute から継承されます。) |
![]() | ReferenceEquals | 指定した複数の Object インスタンスが同一かどうかを判断します。 (Object から継承されます。) |
![]() | ToString | 現在の Object を表す String を返します。 (Object から継承されます。) |

関連項目
AssemblyFlagsAttribute クラスSystem.Reflection 名前空間
AssemblyNameFlags
System.Reflection.Assembly.GetName
AssemblyName.Flags
- AssemblyFlagsAttributeのページへのリンク