SqlDataSourceDesigner.InferParameterNames メソッド

定義

指定された接続、コマンド テキスト、およびコマンドの種類を使用して、パラメーターの配列を返します。

protected public:
 virtual cli::array <System::Web::UI::WebControls::Parameter ^> ^ InferParameterNames(System::ComponentModel::Design::Data::DesignerDataConnection ^ connection, System::String ^ commandText, System::Web::UI::WebControls::SqlDataSourceCommandType commandType);
protected internal virtual System.Web.UI.WebControls.Parameter[] InferParameterNames (System.ComponentModel.Design.Data.DesignerDataConnection connection, string commandText, System.Web.UI.WebControls.SqlDataSourceCommandType commandType);
abstract member InferParameterNames : System.ComponentModel.Design.Data.DesignerDataConnection * string * System.Web.UI.WebControls.SqlDataSourceCommandType -> System.Web.UI.WebControls.Parameter[]
override this.InferParameterNames : System.ComponentModel.Design.Data.DesignerDataConnection * string * System.Web.UI.WebControls.SqlDataSourceCommandType -> System.Web.UI.WebControls.Parameter[]
Protected Friend Overridable Function InferParameterNames (connection As DesignerDataConnection, commandText As String, commandType As SqlDataSourceCommandType) As Parameter()

パラメーター

connection
DesignerDataConnection

DesignerDataConnection オブジェクト。

commandText
String

コマンドのテキストを指定します。

commandType
SqlDataSourceCommandType

コマンドの種類を示す SqlDataSourceCommandType

戻り値

Parameter オブジェクトの配列。

適用対象

こちらもご覧ください