controlparameterとは? わかりやすく解説

ControlParameter クラス

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

Controlプロパティの値を、パラメータ オブジェクトバインドます。

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

Public Class ControlParameter
    Inherits Parameter
Dim instance As ControlParameter
public class ControlParameter : Parameter
public ref class ControlParameter : public
 Parameter
public class ControlParameter extends Parameter
public class ControlParameter extends
 Parameter
解説解説
使用例使用例

次のコード例では、ControlParameter オブジェクト使用してListBox コントロール内に表示されるデータを、宣言シナリオDropDownList コントロール選択した値にバインドする方法示しますControlParameter オブジェクトは、フォームの SqlDataSource コントロールの SelectParameters コレクション追加され、SelectCommand プロパティの "@Title" プレースホルダ テキスト対応します

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <body>
    <form runat="server">

      <p><asp:dropdownlist
          id="DropDownList1"
          runat="server"
          autopostback="True">
          <asp:listitem selected>Sales Representative</asp:listitem>
          <asp:listitem>Sales Manager</asp:listitem>
          <asp:listitem>Vice President, Sales</asp:listitem>
      </asp:dropdownlist></p>

      <asp:sqldatasource
          id="SqlDataSource1"
          runat="server"
          connectionstring="<%$ ConnectionStrings:MyNorthwind%>"
          selectcommand="SELECT LastName FROM Employees WHERE
 Title = @Title">
          <selectparameters>
              <asp:controlparameter name="Title"
 controlid="DropDownList1" propertyname="SelectedValue"/>
          </selectparameters>
      </asp:sqldatasource>

      <p><asp:listbox
          id="ListBox1"
          runat="server"
          datasourceid="SqlDataSource1"
          datatextfield="LastName">
      </asp:listbox></p>

    </form>
  </body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <body>
    <form runat="server">

      <p><asp:dropdownlist
          id="DropDownList1"
          runat="server"
          autopostback="True">
          <asp:listitem selected>Sales Representative</asp:listitem>
          <asp:listitem>Sales Manager</asp:listitem>
          <asp:listitem>Vice President, Sales</asp:listitem>
      </asp:dropdownlist></p>

      <asp:sqldatasource
          id="SqlDataSource1"
          runat="server"
          connectionstring="<%$ ConnectionStrings:MyNorthwind%>"
          selectcommand="SELECT LastName FROM Employees WHERE Title = @Title">
          <selectparameters>
              <asp:controlparameter name="Title" controlid="DropDownList1"
 propertyname="SelectedValue"/>
          </selectparameters>
      </asp:sqldatasource>

      <p><asp:listbox
          id="ListBox1"
          runat="server"
          datasourceid="SqlDataSource1"
          datatextfield="LastName">
      </asp:listbox></p>

    </form>
  </body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML>
  <BODY>
    <FORM runat="server">

      <p><asp:DropDownList
          id="DropDownList1"
          runat="server"
          AutoPostBack="True">
          <asp:ListItem Selected>Sales Representative</asp:ListItem>
          <asp:ListItem>Sales Manager</asp:ListItem>
          <asp:ListItem>Vice President, Sales</asp:ListItem>
      </asp:DropDownList></p>

      <asp:SqlDataSource
          id="SqlDataSource1"
          runat="server"
          ConnectionString="Data Source=localhost;Integrated Security=SSPI;Initial
 Catalog=Northwind;"
          SelectCommand="SELECT LastName FROM Employees WHERE Title = @Title">
          <SelectParameters>
              <asp:ControlParameter Name="Title" ControlId="DropDownList1"
 PropertyName="SelectedValue"/>
          </SelectParameters>
      </asp:SqlDataSource>

      <p><asp:ListBox
          id="ListBox1"
          runat="server"
          DataSourceID="SqlDataSource1"
          DataTextField="LastName">
      </asp:ListBox></p>

    </FORM>
  </BODY>
</HTML>
.NET Framework のセキュリティ.NET Frameworkセキュリティ
継承階層継承階層
System.Object
   System.Web.UI.WebControls.Parameter
    System.Web.UI.WebControls.ControlParameter
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ControlParameter メンバ
System.Web.UI.WebControls 名前空間
CookieParameter
FormParameter
QueryStringParameter
ProfileParameter
SessionParameter

ControlParameter コンストラクタ ()

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

ControlParameter クラスの名前のない新しインスタンス初期化します。

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

Dim instance As New ControlParameter
public ControlParameter ()
public:
ControlParameter ()
public ControlParameter ()
public function ControlParameter ()
解説解説

ControlParameter コンストラクタ作成されControlParameter オブジェクトは、すべてのプロパティ既定値使用して初期化されます。ControlID プロパティおよび PropertyName プロパティは String.Empty に初期化されています。また、Name プロパティString.Empty初期化され、Type プロパティは TypeCode.Object に初期化されます。さらに、Direction プロパティInput初期化され、DefaultValue プロパティnull 参照 (Visual Basic では Nothing) に初期化されます

使用例使用例

ControlParameter コンストラクタ使用して ControlParameter オブジェクト作成する方法次のコード例示しますControlParameter オブジェクトは、DropDownList コントロールの SelectedValue プロパティを、DataGrid コントロール内に表示されるデータ取得するSQL パラメータ クエリバインドます。

<%@ Page Language="VB" AutoEventWireup="false"
 CodeFile="param1avb.aspx.vb" Inherits="param1avb_aspx"
 %>
<html  >
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DropDownList
          runat="server"
          AutoPostBack="True"
          id="DropDownList1">
            <asp:ListItem Value="USA">USA</asp:ListItem>
            <asp:ListItem Value="UK">UK</asp:ListItem>
         </asp:DropDownList>

        <asp:DataGrid
          runat="server"
          id="DataGrid1" />    
    </div>
    </form>
</body>
</html>
<%@ Page Language="C#" CodeFile="param1acs.aspx.cs" Inherits="param1acs_aspx"
 %>
<html  >
<body>
    <form id="form1" runat="server">
    <div>
        <asp:DropDownList
          runat="server"
          AutoPostBack="True"
          id="DropDownList1">
            <asp:ListItem Value="USA">USA</asp:ListItem>
            <asp:ListItem Value="UK">UK</asp:ListItem>
         </asp:DropDownList>

        <asp:DataGrid
          runat="server"
          id="DataGrid1" />    
    </div>
    </form>
</body>
</html>
<%@ Page Language="VJ#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<SCRIPT runat="server">
private void Page_Load(Object sender, System.EventArgs
 e)
{
    SqlDataSource sqlSource = new SqlDataSource("Data Source=localhost;"
 
        + "Integrated Security=SSPI;Initial Catalog=Northwind;",
        "SELECT FirstName, LastName FROM Employees WHERE Country = @country;");

    ControlParameter country = new ControlParameter();
    country.set_Name("country");
    country.set_Type(System.TypeCode.String);
    country.set_ControlID("DropDownList1");
    country.set_PropertyName("SelectedValue");

    // If the DefaultValue is not set, the DataGrid does not
    // display anything on the first page load. This is because
    // on the first page load, the DropDownList has no
    // selected item, and the ControlParameter evaluates to
    // String.Empty.
    country.set_DefaultValue("USA");

    sqlSource.get_SelectParameters().Add(country);

    // Add the SqlDataSource to the page controls collection.
    get_Page().get_Controls().Add(sqlSource);

    DataGrid1.set_DataSource(sqlSource);
    DataGrid1.DataBind();
} //Page_Load
</SCRIPT>

<HTML>
    <BODY>
        <FORM runat="server">

        <asp:DropDownList
          runat="server"
          AutoPostBack="True"
          id="DropDownList1">
            <asp:ListItem Value="USA">USA</asp:ListItem>
            <asp:ListItem Value="UK">UK</asp:ListItem>
         </asp:DropDownList>

        <asp:DataGrid
          runat="server"
          id="DataGrid1" />

        </FORM>
    </BODY>
</HTML>
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ControlParameter クラス
ControlParameter メンバ
System.Web.UI.WebControls 名前空間

ControlParameter コンストラクタ (String, String, String)

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

指定されプロパティ名およびバインド先のコントロール識別するコントロール名を使用して、ControlParameter クラスの名前付きの新しインスタンス初期化します。

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

Public Sub New ( _
    name As String, _
    controlID As String, _
    propertyName As String _
)
Dim name As String
Dim controlID As String
Dim propertyName As String

Dim instance As New ControlParameter(name,
 controlID, propertyName)
public ControlParameter (
    string name,
    string controlID,
    string propertyName
)
public:
ControlParameter (
    String^ name, 
    String^ controlID, 
    String^ propertyName
)
public ControlParameter (
    String name, 
    String controlID, 
    String propertyName
)
public function ControlParameter (
    name : String, 
    controlID : String, 
    propertyName : String
)

パラメータ

name

パラメータの名前。

controlID

パラメータバインド先のコントロールの名前。既定値Empty です。

propertyName

パラメータバインド先のコントロールプロパティの名前。既定値Empty です。

解説解説
使用例使用例

ControlParameter コンストラクタ使用して ControlParameter オブジェクト作成する方法次のコード例示しますパラメータは、Web フォーム ページからデータベースデータ入力するための、TextBox および DropDownList コントロールの値にバインドます。

Sub Button1_Click(ByVal sender As
 Object, ByVal e As System.EventArgs)

    ' The user has pressed the Submit button, prepare a parameterized
    ' SQL query to insert the values from the controls.
    AccessDataSource1.InsertCommand = _
    "INSERT INTO Employees (FirstName,LastName,Address,City,PostalCode,Country,ReportsTo)
 " & _
    "  VALUES (?,?,?,?,?,?,? ); "

    Dim firstName As New
 ControlParameter("FirstName", "TextBox1",
 "Text")
    AccessDataSource1.InsertParameters.Add(firstName)

    Dim lastName As New
 ControlParameter("LastName", "TextBox2",
 "Text")
    AccessDataSource1.InsertParameters.Add(lastName)

    Dim address As New ControlParameter("Address",
 "TextBox3", "Text")
    AccessDataSource1.InsertParameters.Add(address)

    Dim city As New ControlParameter("City",
 "TextBox4", "Text")
    AccessDataSource1.InsertParameters.Add(city)

    Dim postalCode As New
 ControlParameter("PostalCode", "TextBox5",
 "Text")
    AccessDataSource1.InsertParameters.Add(postalCode)

    Dim country As New ControlParameter("Country",
 "TextBox6", "Text")
    AccessDataSource1.InsertParameters.Add(country)

    Dim supervisor As New
 ControlParameter("ReportsTo", "DropDownList1",
 "SelectedValue")
    AccessDataSource1.InsertParameters.Add(supervisor)

    Try
        AccessDataSource1.Insert()
    Finally
        Button1.Visible = False
        Label9.Visible = True
    End Try

End Sub
private void Button1_Click(object sender, EventArgs
 e) {

    // The user has pressed the Submit button, prepare a parameterized
    // SQL query to insert the values from the controls.
    AccessDataSource1.InsertCommand =
    "INSERT INTO Employees (FirstName,LastName,Address,City,PostalCode,Country,ReportsTo)
 " +
    "  VALUES (?,?,?,?,?,?,? ); ";

    AccessDataSource1.InsertParameters.Add(
      new ControlParameter("FirstName", "TextBox1",
 "Text"));

    AccessDataSource1.InsertParameters.Add(
      new ControlParameter("LastName", "TextBox2",
 "Text"));

    AccessDataSource1.InsertParameters.Add(
      new ControlParameter("Address", "TextBox3",
 "Text"));

    AccessDataSource1.InsertParameters.Add(
      new ControlParameter("City", "TextBox4",
 "Text"));

    AccessDataSource1.InsertParameters.Add(
      new ControlParameter("PostalCode", "TextBox5",
 "Text"));

    AccessDataSource1.InsertParameters.Add(
      new ControlParameter("Country", "TextBox6",
 "Text"));

    AccessDataSource1.InsertParameters.Add(
      new ControlParameter("ReportsTo", "DropDownList1",
 "SelectedValue"));

    try {
        AccessDataSource1.Insert();
    }
    finally {
        Button1.Visible = false;
        Label9.Visible = true;
    }
}
private void Button1_Click(Object sender, System.EventArgs
 e)
{
    // The user has pressed the Submit button, prepare a parameterized
    // SQL query to insert the values from the controls.
    AccessDataSource1.set_InsertCommand("INSERT INTO Employees" 
        + "(FirstName,LastName,Address,City,PostalCode,Country,ReportsTo) "
 
        + "  VALUES (?,?,?,?,?,?,? ); ");
    AccessDataSource1.get_InsertParameters().Add(new ControlParameter
        ("FirstName", "TextBox1", "Text"));
    AccessDataSource1.get_InsertParameters().Add(new ControlParameter
        ("LastName", "TextBox2", "Text"));
    AccessDataSource1.get_InsertParameters().Add(new ControlParameter
        ("Address", "TextBox3", "Text"));
    AccessDataSource1.get_InsertParameters().Add(new ControlParameter
        ("City", "TextBox4", "Text"));
    AccessDataSource1.get_InsertParameters().Add(new ControlParameter
        ("PostalCode", "TextBox5", "Text"));
    AccessDataSource1.get_InsertParameters().Add(new ControlParameter
        ("Country", "TextBox6", "Text"));
    AccessDataSource1.get_InsertParameters().Add(new ControlParameter
        ("ReportsTo", "DropDownList1", "SelectedValue"));
    try {
        AccessDataSource1.Insert();
    }
    finally {
        Button1.set_Visible(false);
        Label9.set_Visible(true);
    }
} //Button1_Click
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ControlParameter クラス
ControlParameter メンバ
System.Web.UI.WebControls 名前空間
Name
ControlID
PropertyName

ControlParameter コンストラクタ (String, String)

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

バインド先のコントロール識別する指定されコントロール名を使用して、ControlParameter クラスの名前付きの新しインスタンス初期化します。

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

Public Sub New ( _
    name As String, _
    controlID As String _
)
Dim name As String
Dim controlID As String

Dim instance As New ControlParameter(name,
 controlID)
public ControlParameter (
    string name,
    string controlID
)
public:
ControlParameter (
    String^ name, 
    String^ controlID
)
public ControlParameter (
    String name, 
    String controlID
)
public function ControlParameter (
    name : String, 
    controlID : String
)

パラメータ

name

パラメータの名前。

controlID

パラメータバインド先のコントロールの名前。既定値Empty です。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ControlParameter クラス
ControlParameter メンバ
System.Web.UI.WebControls 名前空間
Name
ControlID

ControlParameter コンストラクタ (String, TypeCode, String, String)

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

指定されプロパティ名およびバインド先のコントロール識別するコントロール名を使用して、ControlParameter クラス厳密に指定された名前付きの新しインスタンス初期化します。

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

Public Sub New ( _
    name As String, _
    type As TypeCode, _
    controlID As String, _
    propertyName As String _
)
Dim name As String
Dim type As TypeCode
Dim controlID As String
Dim propertyName As String

Dim instance As New ControlParameter(name,
 type, controlID, propertyName)
public ControlParameter (
    string name,
    TypeCode type,
    string controlID,
    string propertyName
)
public:
ControlParameter (
    String^ name, 
    TypeCode type, 
    String^ controlID, 
    String^ propertyName
)
public ControlParameter (
    String name, 
    TypeCode type, 
    String controlID, 
    String propertyName
)
public function ControlParameter (
    name : String, 
    type : TypeCode, 
    controlID : String, 
    propertyName : String
)

パラメータ

name

パラメータの名前。

type

パラメータが表す型。既定値Object です。

controlID

パラメータバインド先のコントロールの名前。既定値Empty です。

propertyName

パラメータバインド先のコントロールプロパティの名前。既定値Empty です。

解説解説
使用例使用例

ControlParameter コンストラクタ使用して2 つControlParameter オブジェクト作成し、それらを SqlDataSource コントロール関連付ける方法を、次のコード例示します

ControlParameter country =
  new ControlParameter("country",TypeCode.String,"ListBox1"
,"SelectedValue");
sqlSource.SelectParameters.Add(country);

ControlParameter report  =
  new ControlParameter("report",TypeCode.Int16,"ListBox2"
,"SelectedValue");
sqlSource.SelectParameters.Add(report);

ControlParameter country = new ControlParameter("country",
 
    System.TypeCode.String, "ListBox1", "SelectedValue");
sqlSource.get_SelectParameters().Add(country);
ControlParameter report = new ControlParameter("report",
 
    System.TypeCode.Int16, "ListBox2", "SelectedValue");
sqlSource.get_SelectParameters().Add(report);
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ControlParameter クラス
ControlParameter メンバ
System.Web.UI.WebControls 名前空間
Name
Type
ControlID
PropertyName

ControlParameter コンストラクタ (ControlParameter)

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

original パラメータ指定されインスタンスの値を使用してControlParameter クラス新しインスタンス初期化します。

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

Protected Sub New ( _
    original As ControlParameter _
)
Dim original As ControlParameter

Dim instance As New ControlParameter(original)
protected ControlParameter (
    ControlParameter original
)
protected:
ControlParameter (
    ControlParameter^ original
)
protected ControlParameter (
    ControlParameter original
)
protected function ControlParameter (
    original : ControlParameter
)

パラメータ

original

現在のインスタンス初期化の基になる ControlParameter。

解説解説

ControlParameter コンストラクタは、ControlParameter インスタンスクローン作成するための protected コピー コンストラクタです。ControlParameter オブジェクトの値 (ControlID、PropertyName、NameType プロパティなど) が、すべて新しインスタンス転送されます。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ControlParameter クラス
ControlParameter メンバ
System.Web.UI.WebControls 名前空間
Clone

ControlParameter コンストラクタ


ControlParameter プロパティ


パブリック プロパティパブリック プロパティ

( プロテクト プロパティ参照)
  名前 説明
パブリック プロパティ ControlID ControlParameter オブジェクトバインド先のコントロールの名前を指定します
パブリック プロパティ ConvertEmptyStringToNull  Parameter オブジェクトバインド先の値が String.Empty の場合に、その値を null 参照 (Visual Basic では Nothing) に変換する必要があるかどうかを示す値を取得または設定します。 ( Parameter から継承されます。)
パブリック プロパティ DefaultValue  パラメータ既定値指定します。Evaluate メソッド呼び出し時にパラメータはこの値にバインドされ、初期化前の状態に戻されます。 ( Parameter から継承されます。)
パブリック プロパティ Direction  Parameter オブジェクト使用して値をコントロールバインドするかどうか、またはそのコントロール使用して値を変更できるかどうか示します。 ( Parameter から継承されます。)
パブリック プロパティ Name  パラメータの名前を取得または設定します。 ( Parameter から継承されます。)
パブリック プロパティ PropertyName ControlParameter オブジェクトバインドする、ControlID プロパティにより識別されるコントロールプロパティの名前を取得または設定します
パブリック プロパティ Size  パラメータサイズ取得または設定します。 ( Parameter から継承されます。)
パブリック プロパティ Type  パラメータの型を取得または設定します。 ( Parameter から継承されます。)
プロテクト プロパティプロテクト プロパティ
参照参照

関連項目

ControlParameter クラス
System.Web.UI.WebControls 名前空間
CookieParameter
FormParameter
QueryStringParameter
ProfileParameter
SessionParameter

ControlParameter メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド Clone オーバーライドされます現在の ControlParameter インスタンス複製返します
プロテクト メソッド Evaluate オーバーライドされますControlParameter オブジェクトの値を更新して返します
プロテクト メソッド Finalize  Objectガベージ コレクションにより収集される前に、その Objectリソース解放しその他のクリーンアップ操作実行できるようにします。 ( Object から継承されます。)
プロテクト メソッド LoadViewState  データ ソース ビューの、以前保存したビューステート復元します。 ( Parameter から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object簡易コピー作成します。 ( Object から継承されます。)
プロテクト メソッド OnParameterChanged  Parameter オブジェクト格納する ParameterCollection コレクションの OnParametersChanged メソッド呼び出します。 ( Parameter から継承されます。)
プロテクト メソッド SaveViewState  ページサーバーポストバックされた時間以降発生したParameter オブジェクトビューステートへの変更保存します。 ( Parameter から継承されます。)
プロテクト メソッド SetDirty  Parameter オブジェクトの状態がビューステート記録されるように、このオブジェクトマークします。 ( Parameter から継承されます。)
プロテクト メソッド TrackViewState  Parameter オブジェクトビューステート変更追跡するようにします。それにより、変更コントロールViewState オブジェクト格納して、同じページ対す複数要求わたって永続化できます。 ( Parameter から継承されます。)
参照参照

関連項目

ControlParameter クラス
System.Web.UI.WebControls 名前空間
CookieParameter
FormParameter
QueryStringParameter
ProfileParameter
SessionParameter

ControlParameter メンバ

Controlプロパティの値を、パラメータ オブジェクトバインドます。

ControlParameter データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
プロテクト コンストラクタプロテクト コンストラクタ
パブリック プロパティパブリック プロパティ
プロテクト プロパティプロテクト プロパティ
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
  名前 説明
プロテクト メソッド Clone オーバーライドされます現在の ControlParameter インスタンス複製返します
プロテクト メソッド Evaluate オーバーライドされますControlParameter オブジェクトの値を更新して返します
プロテクト メソッド Finalize  Objectガベージ コレクションにより収集される前に、その Objectリソース解放しその他のクリーンアップ操作実行できるようにします。 (Object から継承されます。)
プロテクト メソッド LoadViewState  データ ソース ビューの、以前保存したビューステート復元します。 (Parameter から継承されます。)
プロテクト メソッド MemberwiseClone  現在の Object簡易コピー作成します。 (Object から継承されます。)
プロテクト メソッド OnParameterChanged  Parameter オブジェクト格納する ParameterCollection コレクションの OnParametersChanged メソッド呼び出します。 (Parameter から継承されます。)
プロテクト メソッド SaveViewState  ページサーバーポストバックされた時間以降発生したParameter オブジェクトビューステートへの変更保存します。 (Parameter から継承されます。)
プロテクト メソッド SetDirty  Parameter オブジェクトの状態がビューステート記録されるように、このオブジェクトマークします。 (Parameter から継承されます。)
プロテクト メソッド TrackViewState  Parameter オブジェクトビューステート変更追跡するようにします。それにより、変更コントロールViewState オブジェクト格納して、同じページ対す複数要求わたって永続化できます。 (Parameter から継承されます。)
参照参照

関連項目

ControlParameter クラス
System.Web.UI.WebControls 名前空間
CookieParameter
FormParameter
QueryStringParameter
ProfileParameter
SessionParameter



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

辞書ショートカット

すべての辞書の索引

「controlparameter」の関連用語

controlparameterのお隣キーワード
検索ランキング

   

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



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

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

©2024 GRAS Group, Inc.RSS