CompilerGeneratedAttribute クラス
アセンブリ: mscorlib (mscorlib.dll 内)
構文<SerializableAttribute> _ <AttributeUsageAttribute(AttributeTargets.All, Inherited:=True)> _ Public NotInheritable Class CompilerGeneratedAttribute Inherits Attribute
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets.All, Inherited=true)] public sealed class CompilerGeneratedAttribute : Attribute
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets::All, Inherited=true)] public ref class CompilerGeneratedAttribute sealed : public Attribute
解説コンパイラによって生成されたすべてのアプリケーション要素に、コンパイラによって生成されたことを示す CompilerGeneratedAttribute 属性を適用します。
CompilerGeneratedAttribute 属性を使用して、要素がコンパイラによって追加されたか、ソース コード内で直接作成されたかを判断します。
継承階層System.Attribute
System.Runtime.CompilerServices.CompilerGeneratedAttribute
スレッド セーフ
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- CompilerGeneratedAttribute クラスのページへのリンク