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

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

DataSourceView.CanInsert プロパティ

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

現在の DataSourceControl オブジェクト関連付けられている DataSourceView オブジェクトで ExecuteInsert 操作サポートされているかどうかを示す値を取得します

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

解説解説
使用例使用例

DataSourceView クラス拡張するクラスで、CanInsert プロパティExecuteInsert メソッドオーバーライドする方法次のコード例示します。このコード例は、DataSourceView クラストピック取り上げているコード例一部分です。

' The CsvDataSourceView does not currently
' permit insertion of a new record. You can
' modify or extend this sample to do so.
Public Overrides ReadOnly
 Property CanInsert() As Boolean
   Get
      Return False
   End Get
End Property

Protected Overrides Function
 ExecuteInsert(values As IDictionary) As Integer
   Throw New NotSupportedException()
End Function 'ExecuteInsert
// The CsvDataSourceView does not currently
// permit insertion of a new record. You can
// modify or extend this sample to do so.
public override bool CanInsert {
    get {
        return false;
    }
}
protected override int ExecuteInsert(IDictionary
 values)
{
    throw new NotSupportedException();
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DataSourceView クラス
DataSourceView メンバ
System.Web.UI 名前空間
ExecuteInsert


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

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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS