DataTable.ExtendedProperties プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > DataTable.ExtendedProperties プロパティの意味・解説 

DataTable.ExtendedProperties プロパティ

カスタマイズされたユーザー情報コレクション取得します

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

Public ReadOnly Property
 ExtendedProperties As PropertyCollection
Dim instance As DataTable
Dim value As PropertyCollection

value = instance.ExtendedProperties
public PropertyCollection ExtendedProperties { get;
 }
public:
property PropertyCollection^ ExtendedProperties {
    PropertyCollection^ get ();
}
/** @property */
public PropertyCollection get_ExtendedProperties ()
public function get ExtendedProperties
 () : PropertyCollection

プロパティ
カスタム ユーザー情報格納された PropertyCollection。

解説解説

ExtendedProperties プロパティ使用してカスタム情報を DataTable に追加しますAdd メソッド情報追加しますItem メソッド情報取得します

拡張プロパティは、String 型にする必要がありますDataTableXML として書き込まれ場合文字列型ではないプロパティ永続化されません。

使用例使用例

ExtendedProperties プロパティ使用してタイムスタンプ値を DataTable追加する例を次に示します

Private Sub GetAndSetExtendedProperties(ByVal
 myTable As DataTable)
   ' Add an item to the collection.
   myTable.ExtendedProperties.Add("TimeStamp", DateTime.Now)
   ' Print the item.
   Console.WriteLine(myTable.ExtendedProperties.Item("TimeStamp"))
End Sub
private void GetAndSetExtendedProperties(DataTable
 myTable){
   // Add an item to the collection.
   myTable.ExtendedProperties.Add("TimeStamp", DateTime.Now);
   // Print the item.
   Console.WriteLine(myTable.ExtendedProperties["TimeStamp"]);
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照


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

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

辞書ショートカット

すべての辞書の索引

「DataTable.ExtendedProperties プロパティ」の関連用語

DataTable.ExtendedProperties プロパティのお隣キーワード
検索ランキング

   

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



DataTable.ExtendedProperties プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS