[]
        
(Showing Draft Content)

FarPoint.Win.Spread.Chart.SpreadChartCollection.Contains

Contains Method

Contains(SpreadChart)

Determines whether the chart collection contains a specified chart.

Declaration
public bool Contains(SpreadChart chart)
Public Function Contains(chart As SpreadChart) As Boolean
Parameters
Type Name Description
SpreadChart chart

The chart to locate in the chart collection. The value can be null.

Returns
Type Description
bool

true if the chart is found in the chart collection; otherwise, false.

Contains(string)

Determines whether the chart collection contains the specified chart.

Declaration
public bool Contains(string chartName)
Public Function Contains(chartName As String) As Boolean
Parameters
Type Name Description
string chartName

Name of the chart.

Returns
Type Description
bool

true if the chart collection contains the specified chart; otherwise, false.