次の方法で共有


ReportParametersEventArgs.Parameters プロパティ

パラメーターのプロンプト領域でレポート サーバーに送信されるパラメーターを取得します。

名前空間:  Microsoft.Reporting.WinForms
アセンブリ:  Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)

構文

'宣言
Public ReadOnly Property Parameters As ReportParameterCollection
public ReportParameterCollection Parameters { get; }
public:
property ReportParameterCollection^ Parameters {
    ReportParameterCollection^ get ();
}
member Parameters : ReportParameterCollection with get
function get Parameters () : ReportParameterCollection

プロパティ値

型 : Microsoft.Reporting.WinForms.ReportParameterCollection
ユーザーによって送信されたパラメーター値を含む ReportParameterCollection オブジェクト。

解説

このコレクション プロパティには、変更された値だけでなく、表示されるすべてのレポート パラメーター値が含まれます。ただし、パラメーターが自動的に送信され、レポートを処理せずに依存パラメーターが更新される場合、依存パラメーターは含まれません。

このプロパティは読み取り専用ですが、レポート サーバーに送信する前に、ReportParametersEventHandler メソッドのコレクションの内容を変更できます。

参照

関連項目

ReportParametersEventArgs クラス

Microsoft.Reporting.WinForms 名前空間