CodeTypeReferenceExpression クラス
アセンブリ: System (system.dll 内)
構文<SerializableAttribute> _ <ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)> _ <ComVisibleAttribute(True)> _ Public Class CodeTypeReferenceExpression Inherits CodeExpression
[SerializableAttribute] [ClassInterfaceAttribute(ClassInterfaceType.AutoDispatch)] [ComVisibleAttribute(true)] public class CodeTypeReferenceExpression : CodeExpression
[SerializableAttribute] [ClassInterfaceAttribute(ClassInterfaceType::AutoDispatch)] [ComVisibleAttribute(true)] public ref class CodeTypeReferenceExpression : public 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
継承階層System.CodeDom.CodeObject
System.CodeDom.CodeExpression
System.CodeDom.CodeTypeReferenceExpression
スレッド セーフ
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からCodeTypeReferenceExpression クラスを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からCodeTypeReferenceExpression クラス
を検索
- CodeTypeReferenceExpression クラスのページへのリンク