See Also

SectionCollection Class  | SectionCollection Members

Language

Visual Basic

C#

Show All

section

Specifies the Section object to be searched for in the collection.

See Also Languages ActiveReports Send feedback to Data Dynamics

Contains Method

Determines whether the specified section object exists in the collection.

[Visual Basic]
Public Function Contains( _    ByVal section As Section _ ) As Boolean
[C#]
public bool Contains(    Section section );

Parameters

section

Specifies the Section object to be searched for in the collection.

Return Type

Boolean. Returns True if the section exists in the collection; otherwise, False.

Example

[C#] 

private void rptDataDynamics_ReportEnd(object sender, System.EventArgs eArgs) 

    System.Windows.Forms.MessageBox.Show(this.Sections.Contains(this.Sections["Detail"]).ToString()); 
}

[Visual Basic] 

Private Sub rptDD_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportEnd
    MsgBox(Me.Sections.Contains(Me.Sections("Detail")).ToString)
End Sub

See Also

SectionCollection Class  | SectionCollection Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.