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

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

CodeTypeReferenceExpression クラス

データ型への参照表します

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

<SerializableAttribute> _
<ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _
<ComVisibleAttribute(True)> _
Public Class CodeTypeReferenceExpression
    Inherits CodeExpression
Dim instance As CodeTypeReferenceExpression
[SerializableAttribute] 
[ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] 
[ComVisibleAttribute(true)] 
public class CodeTypeReferenceExpression :
 CodeExpression
[SerializableAttribute] 
[ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] 
[ComVisibleAttribute(true)] 
public ref class CodeTypeReferenceExpression
 : public CodeExpression
/** @attribute SerializableAttribute() */ 
/** @attribute ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) */ 
/** @attribute ComVisibleAttribute(true) */ 
public class CodeTypeReferenceExpression extends
 CodeExpression
SerializableAttribute 
ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch) 
ComVisibleAttribute(true) 
public class CodeTypeReferenceExpression extends
 CodeExpression
解説解説
使用例使用例

CodeTypeReferenceExpression使用して型への参照を表す例を次に示します

' Creates an expression referencing the System.DateTime type.
Dim typeRef2 As New CodeTypeReferenceExpression("System.DateTime")

' A Visual Basic code generator produces the following source code for
 the preceeding example code:    

'       System.DateTime
// Creates an expression referencing the System.DateTime type.
CodeTypeReferenceExpression typeRef2 = new CodeTypeReferenceExpression("System.DateTime");

// A C# code generator produces the following source code for the preceeding
 example code:    

//    System.DateTime

// Creates an expression referencing the System.DateTime type.
CodeTypeReferenceExpression^ typeRef2 = gcnew CodeTypeReferenceExpression( "System.DateTime"
 );

// A C# code generator produces the following source code for the preceeding
 example code:
//    System.DateTime
// Creates an expression referencing the System.DateTime type.
CodeTypeReferenceExpression typeRef2 = new 
    CodeTypeReferenceExpression("System.DateTime");
// A VJ# code generator produces the following source code
// for the preceeding example code:    
//    System.DateTime
継承階層継承階層
System.Object
   System.CodeDom.CodeObject
     System.CodeDom.CodeExpression
      System.CodeDom.CodeTypeReferenceExpression
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


このページでは「.NET Framework クラス ライブラリ リファレンス」からCodeTypeReferenceExpression クラスを検索した結果を表示しています。
Weblioに収録されているすべての辞書からCodeTypeReferenceExpression クラスを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からCodeTypeReferenceExpression クラス を検索

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

辞書ショートカット

すべての辞書の索引

「CodeTypeReferenceExpression クラス」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS