ObjectDataSourceView.ExecuteInsert メソッドとは? わかりやすく解説

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

ObjectDataSourceView.ExecuteInsert メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

指定した values コレクションを使用して、InsertMethod プロパティで指定されたビジネス オブジェクト メソッドを呼び出すことで、挿入操作を実行します。

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

Protected Overrides Function
 ExecuteInsert ( _
    values As IDictionary _
) As Integer
Dim values As IDictionary
Dim returnValue As Integer

returnValue = Me.ExecuteInsert(values)
protected override int ExecuteInsert (
    IDictionary values
)
protected:
virtual int ExecuteInsert (
    IDictionary^ values
) override
protected int ExecuteInsert (
    IDictionary values
)
protected override function ExecuteInsert (
    values : IDictionary
) : int

パラメータ

values

挿入操作を実行するために InsertMethod プロパティで使用されるパラメータの IDictionary。メソッドに関連付けられているパラメータがない場合は、null 参照 (Visual Basic では Nothing) を渡します。

戻り値
挿入された行数。数が不明の場合は -1。詳細については、Insert のトピックを参照してください。

例外例外
例外の種類条件

NotSupportedException

CanInsert プロパティは、false を返します。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ObjectDataSourceView クラス
ObjectDataSourceView メンバ
System.Web.UI.WebControls 名前空間
Insert
InsertMethod
InsertParameters
OnInserting
OnInserted
Inserting
Inserted



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

ObjectDataSourceView.ExecuteInsert メソッドのお隣キーワード
検索ランキング

   

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



ObjectDataSourceView.ExecuteInsert メソッドのページの著作権

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

©2026 GRAS Group, Inc.RSS