DataPointCollection::FindByValue Method (Double)

.NET Framework (current version)
 

Finds the first data point that is equal to the specified value.

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

public:
DataPoint^ FindByValue(
	double valueToFind
)

Parameters

valueToFind
Type: System::Double

The data point value to find.

Return Value

Type: System.Windows.Forms.DataVisualization.Charting::DataPoint^

The DataPoint that matches the specified value, or null if there is no match.

.NET Framework
Available since 4.0
Return to top
Show: