DataPointCollection::FindAllByValue Method (Double, String^, Int32)

.NET Framework (current version)
 

Finds all the data points that are equal to the specified value, starting from the specified index location.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
IEnumerable<DataPoint^>^ FindAllByValue(
	double valueToFind,
	String^ useValue,
	int startIndex
)

Parameters

valueToFind
Type: System::Double

The data point value to find.

useValue
Type: System::String^

The data point value to use (X, Y1, Y2...).

startIndex
Type: System::Int32

The index location of the data point to start searching from.

Return Value

Type: System.Collections.Generic::IEnumerable<DataPoint^>^

An IEnumerable<T> interface that represents the enumerator of the matching data points.

.NET Framework
Available since 4.0
Return to top
Show: