PowerTools ActiveReports for .NET 11.0J
Item(Int32) プロパティ
使用例 

要求するパラメータのコレクション内のインデックスを指定します。
ParameterCollection内の指定したインデックス位置にあるParameterオブジェクトを取得します。
構文
'宣言
 
Public Overloads ReadOnly Property Item( _
   ByVal index As Integer _
) As Parameter
public Parameter Item( 
   int index
) {get;}

パラメータ

index
要求するパラメータのコレクション内のインデックスを指定します。
使用例
private void arv_Load(object sender, System.EventArgs e)
{
    SectionReport1 rpt = new  SectionReport1();
    System.Windows.Forms.MessageBox.Show (rpt.Parameters[0].Type.ToString());
    rpt.Run();
    this.arv.Document = rpt.Document;
}
Private Sub Viewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Viewer1.Load
    Dim rpt As New SectionReport1
    MsgBox(rpt.Parameters.Item(0).Type.ToString)
    rpt.Run()
    Me.Viewer1.Document = rpt.Document
End Sub
参照

関連項目

ParameterCollection クラス
ParameterCollection メンバ
オーバーロード一覧

 

 


©2003-2017 GrapeCity inc. All rights reserved.