ReportParameterCollection.Item プロパティ (String)
指定した名前の ReportParameter オブジェクトをコレクションから取得します。
名前空間: Microsoft.Reporting.WinForms
アセンブリ: Microsoft.ReportViewer.WinForms (Microsoft.ReportViewer.WinForms.dll 内)
構文
'宣言
Public ReadOnly Default Property Item ( _
name As String _
) As ReportParameter
public ReportParameter this[
string name
] { get; }
public:
property ReportParameter^ default[String^ name] {
ReportParameter^ get (String^ name);
}
member Item :
name:string -> ReportParameter with get
JScript では、インデックス付きプロパティはサポートされません。
パラメーター
- name
型 : String
取得する ReportParameter オブジェクトの名前。これは Name プロパティの値です。
このパラメーターの大文字と小文字は区別されません。
プロパティ値
型 : Microsoft.Reporting.WinForms.ReportParameter
見つかった場合は、指定した名前の ReportParameter。それ以外の場合は、null 参照 (Visual Basic の場合は Nothing)。
解説
コレクション内の複数のパラメーターが name パラメーターと一致する場合は、最初に一致したパラメーターが返されます。