GeneratedCodeAttribute クラスとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > GeneratedCodeAttribute クラスの意味・解説 

GeneratedCodeAttribute クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

ツール生成されコード識別します。このクラス継承できません。

名前空間: System.CodeDom.Compiler
アセンブリ: System (system.dll 内)
構文構文

<AttributeUsageAttribute(AttributeTargets.All, Inherited:=False, AllowMultiple:=False)>
 _
Public NotInheritable Class
 GeneratedCodeAttribute
    Inherits Attribute
Dim instance As GeneratedCodeAttribute
[AttributeUsageAttribute(AttributeTargets.All, Inherited=false,
 AllowMultiple=false)] 
public sealed class GeneratedCodeAttribute
 : Attribute
[AttributeUsageAttribute(AttributeTargets::All, Inherited=false,
 AllowMultiple=false)] 
public ref class GeneratedCodeAttribute sealed
 : public Attribute
/** @attribute AttributeUsageAttribute(AttributeTargets.All, Inherited=false,
 AllowMultiple=false) */ 
public final class GeneratedCodeAttribute extends
 Attribute
AttributeUsageAttribute(AttributeTargets.All, Inherited=false,
 AllowMultiple=false) 
public final class GeneratedCodeAttribute extends
 Attribute
解説解説
使用例使用例

GeneratedCodeAttribute クラス使用してコンピュータによって生成されコード識別する方法次のコード例示します

CodeAttributeDeclaration generatedCodeAttribute = new      CodeAttributeDeclaration(
typeof(System.CodeDom.Compiler.GeneratedCodeAttribute).FullName, 
new CodeAttributeArgument(Str("TypedDataSetGenerator")),
 
new CodeAttributeArgument(Str("2.0.0.0")));
typeDeclaration.CustomAttributes.Add(generatedCodeAttribute);
継承階層継承階層
System.Object
   System.Attribute
    System.CodeDom.Compiler.GeneratedCodeAttribute
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
GeneratedCodeAttribute メンバ
System.CodeDom.Compiler 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「GeneratedCodeAttribute クラス」の関連用語

GeneratedCodeAttribute クラスのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



GeneratedCodeAttribute クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS