GrapeCity.ActiveReports.v9 Assembly > GrapeCity.ActiveReports Namespace > SectionCollection Class : IndexOf Method |
Determines the specific index of the specified section in the collection.
Overload | Description |
---|---|
IndexOf | Determines the specific index of the specified section in the collection. |
private void rpt_ReportEnd(object sender, System.EventArgs eArgs) { System.Windows.Forms.MessageBox.Show(this.Sections.IndexOf(this.Sections["detail"]).ToString()); }
Private Sub rpt_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportEnd MsgBox(Me.Sections.IndexOf(Me.Sections("Detail1")).ToString) End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2