CodeIndexerExpression クラスとは?

辞典・百科事典の検索サービス - Weblio辞書

初めての方へ

参加元一覧


用語解説|全文検索
Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > CodeIndexerExpression クラスの意味・解説 

.NET Framework クラス ライブラリ リファレンス

日本マイクロソフト株式会社日本マイクロソフト株式会社

CodeIndexerExpression クラス

オブジェクトインデクサ プロパティへの参照を表します。

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

解説解説
使用例使用

CodeIndexerExpression使用して、現在のオブジェクトの型インデクサ参照する例を次に示します。

System.CodeDom.CodeIndexerExpression indexerExpression = new CodeIndexerExpression(
 new CodeThisReferenceExpression(), new CodePrimitiveExpression(1)
 );

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

//        this[1];        
array<CodePrimitiveExpression^>^temp1 = {gcnew CodePrimitiveExpression( 1 )};
System::CodeDom::CodeIndexerExpression^ indexerExpression = gcnew CodeIndexerExpression(
 gcnew CodeThisReferenceExpression,temp1 );

// A C# code generator produces the following source code for the preceeding
 example code:
//        this[1];
System.CodeDom.CodeIndexerExpression indexerExpression = new 
    CodeIndexerExpression(new CodeThisReferenceExpression(), 
    new CodeExpression[] { new CodePrimitiveExpression((Int32)1)
 });
// A VJ# code generator produces the following source code for the
// preceeding example code:
// this[1];        
継承階層継承階層
System.Object
   System.CodeDom.CodeObject
     System.CodeDom.CodeExpression
      System.CodeDom.CodeIndexerExpression
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照





CodeIndexerExpression クラスのページへのリンク
「CodeIndexerExpression クラス」の関連用語
CodeIndexerExpression クラスのお隣キーワード
モバイル
モバイル版のWeblioは、下記のURLからアクセスしてください。
http://m.weblio.jp/
_ _   


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

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

©2012 Weblio RSS