DataPointCollection.FindAllByValue 方法

定义

查找等于指定值的所有数据点。Find all the data points that are equal to the specified value.

重载

FindAllByValue(Double, String, Int32)

从指定索引位置查找等于指定值的所有数据点。Finds all the data points that are equal to the specified value, starting from the specified index location.

FindAllByValue(Double, String)

查找等于指定值的所有数据点。Finds all the data points that are equal to the specified value.

FindAllByValue(Double)

查找等于指定值的所有数据点。Find all the data points that are equal to the specified value.

FindAllByValue(Double, String, Int32)

从指定索引位置查找等于指定值的所有数据点。Finds all the data points that are equal to the specified value, starting from the specified index location.

public:
 System::Collections::Generic::IEnumerable<System::Web::UI::DataVisualization::Charting::DataPoint ^> ^ FindAllByValue(double valueToFind, System::String ^ useValue, int startIndex);
public System.Collections.Generic.IEnumerable<System.Web.UI.DataVisualization.Charting.DataPoint> FindAllByValue (double valueToFind, string useValue, int startIndex);
member this.FindAllByValue : double * string * int -> seq<System.Web.UI.DataVisualization.Charting.DataPoint>
Public Iterator Function FindAllByValue (valueToFind As Double, useValue As String, startIndex As Integer) As IEnumerable(Of DataPoint)

参数

valueToFind
Double

要查找的数据点值。The data point value to find.

useValue
String

要使用的数据点值(X、Y1、Y2...)。The data point value to use (X, Y1, Y2...).

startIndex
Int32

将从该处开始搜索的数据点的索引位置。The index location of the data point to start searching from.

返回

一个 IEnumerable<T> 接口,该接口表示匹配的数据点的枚举数。An IEnumerable<T> interface that represents the enumerator of the matching data points.

FindAllByValue(Double, String)

查找等于指定值的所有数据点。Finds all the data points that are equal to the specified value.

public:
 System::Collections::Generic::IEnumerable<System::Web::UI::DataVisualization::Charting::DataPoint ^> ^ FindAllByValue(double valueToFind, System::String ^ useValue);
public System.Collections.Generic.IEnumerable<System.Web.UI.DataVisualization.Charting.DataPoint> FindAllByValue (double valueToFind, string useValue);
member this.FindAllByValue : double * string -> seq<System.Web.UI.DataVisualization.Charting.DataPoint>
Public Iterator Function FindAllByValue (valueToFind As Double, useValue As String) As IEnumerable(Of DataPoint)

参数

valueToFind
Double

要查找的数据点值。The data point value to find.

useValue
String

要使用的数据点值(X、Y1、Y2...)。The data point value to use (X, Y1, Y2...).

返回

一个 IEnumerable<T> 接口,该接口表示匹配的数据点的枚举数。An IEnumerable<T> interface that represents the enumerator of the matching data points.

FindAllByValue(Double)

查找等于指定值的所有数据点。Find all the data points that are equal to the specified value.

public:
 System::Collections::Generic::IEnumerable<System::Web::UI::DataVisualization::Charting::DataPoint ^> ^ FindAllByValue(double valueToFind);
public System.Collections.Generic.IEnumerable<System.Web.UI.DataVisualization.Charting.DataPoint> FindAllByValue (double valueToFind);
member this.FindAllByValue : double -> seq<System.Web.UI.DataVisualization.Charting.DataPoint>
Public Function FindAllByValue (valueToFind As Double) As IEnumerable(Of DataPoint)

参数

valueToFind
Double

要查找的数据点值。The data point value to find.

返回

一个 IEnumerable<T> 接口,该接口表示匹配的数据点的枚举数。An IEnumerable<T> interface that represents the enumerator of the matching data points.

适用于