ParameterCollectionEditor クラスとは? わかりやすく解説

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

ParameterCollectionEditor クラス

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

関連付けられているデータ ソース コントロールParameters プロパティによって指定される ParameterCollection オブジェクトコンポーネント エディタ提供します

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

Public Class ParameterCollectionEditor
    Inherits UITypeEditor
Dim instance As ParameterCollectionEditor
public class ParameterCollectionEditor : UITypeEditor
public ref class ParameterCollectionEditor
 : public UITypeEditor
public class ParameterCollectionEditor extends
 UITypeEditor
public class ParameterCollectionEditor extends
 UITypeEditor
解説解説

ParameterCollectionEditor クラスは、いずれかParameters プロパティ指定したParameterCollection オブジェクトParameter 要素デザイン時に編集するためのユーザー インターフェイス提供しますParameters プロパティには、ObjectDataSource コントロール、SqlDataSource コントロール、およびその他のデータ ソース コントロールプロパティ (DeleteParameters、FilterParameters、InsertParameters、SelectParameters、および UpdateParameters) が含まれます。

ビジュアル デザイナの [プロパティ] グリッドいずれかParameters プロパティ省略記号ボタン (...) をクリックすると、ParameterCollectionEditor呼び出されます。

EditValue メソッドは、関連付けられているデータ ソース コントロールParameterCollectionParameter 要素編集します。GetEditStyle メソッドは、このエディタ関連付けられている編集スタイル取得します

使用例使用例

EditorAttribute 属性使用してParameterCollectionEditor クラスと UITypeEditor クラス (コレクション エディタ基本クラス) をカスタム コントロールSelectParameters プロパティ関連付けるコード例次に示します

Private selectParams As ParameterCollection

' Associate the ParameterCollectionEditor with the SelectParameters.
 
<EditorAttribute(GetType(System.Web.UI.Design.WebControls.
 _
    ParameterCollectionEditor), _
    GetType(UITypeEditor))> _
Public Property SelectParameters() As
 ParameterCollection
    Get
        If selectParams Is Nothing
 Then
            selectParams = New ParameterCollection()
        End If
        Return selectParams
    End Get
    Set(ByVal value As ParameterCollection)
        selectParams = value
    End Set
End Property ' SelectParameters
private ParameterCollection selectParams;

// Associate the ParameterCollectionEditor with the SelectParameters.
 
[Editor(typeof(System.Web.UI.Design.WebControls.
    ParameterCollectionEditor),
    typeof(UITypeEditor))]
public ParameterCollection SelectParameters
{
    get
    {
        // If there is no selectParams collection, create it.
        if (selectParams == null)
            selectParams = new ParameterCollection();

        return selectParams;
    }
    set { selectParams = value; }
} // SelectParameters
継承階層継承階層
System.Object
   System.Drawing.Design.UITypeEditor
    System.Web.UI.Design.WebControls.ParameterCollectionEditor
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ParameterCollectionEditor メンバ
System.Web.UI.Design.WebControls 名前空間
Parameter
ParameterCollection
ObjectDataSource
SqlDataSource
ObjectDataSourceView
SqlDataSourceView
ObjectDataSourceDesigner クラス
SqlDataSourceDesigner
UITypeEditor


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

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

辞書ショートカット

すべての辞書の索引

「ParameterCollectionEditor クラス」の関連用語

ParameterCollectionEditor クラスのお隣キーワード
検索ランキング

   

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



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

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

©2025 GRAS Group, Inc.RSS