DataPointCollection.FindAllByValue 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
找出所有等於指定值的資料點。
多載
| 名稱 | Description |
|---|---|
| FindAllByValue(Double, String, Int32) |
從指定的索引位置開始,找出所有等於指定值的資料點。 |
| FindAllByValue(Double, String) |
找出所有等於指定值的資料點。 |
| FindAllByValue(Double) |
找出所有等於指定值的資料點。 |
FindAllByValue(Double, String, Int32)
從指定的索引位置開始,找出所有等於指定值的資料點。
public:
System::Collections::Generic::IEnumerable<System::Windows::Forms::DataVisualization::Charting::DataPoint ^> ^ FindAllByValue(double valueToFind, System::String ^ useValue, int startIndex);
public System.Collections.Generic.IEnumerable<System.Windows.Forms.DataVisualization.Charting.DataPoint> FindAllByValue(double valueToFind, string useValue, int startIndex);
member this.FindAllByValue : double * string * int -> seq<System.Windows.Forms.DataVisualization.Charting.DataPoint>
Public Function FindAllByValue (valueToFind As Double, useValue As String, startIndex As Integer) As IEnumerable(Of DataPoint)
Public Iterator Function FindAllByValue (valueToFind As Double, useValue As String, startIndex As Integer) As IEnumerable(Of DataPoint)
參數
- valueToFind
- Double
要找到的數據點值。
- useValue
- String
要用的資料點值(X, Y1, Y2...)。
- startIndex
- Int32
資料點的索引位置,從中開始搜尋。
傳回
一個 IEnumerable<T> 介面,代表匹配資料點的列舉子。
適用於
FindAllByValue(Double, String)
找出所有等於指定值的資料點。
public:
System::Collections::Generic::IEnumerable<System::Windows::Forms::DataVisualization::Charting::DataPoint ^> ^ FindAllByValue(double valueToFind, System::String ^ useValue);
public System.Collections.Generic.IEnumerable<System.Windows.Forms.DataVisualization.Charting.DataPoint> FindAllByValue(double valueToFind, string useValue);
member this.FindAllByValue : double * string -> seq<System.Windows.Forms.DataVisualization.Charting.DataPoint>
Public Function FindAllByValue (valueToFind As Double, useValue As String) As IEnumerable(Of DataPoint)
Public Iterator Function FindAllByValue (valueToFind As Double, useValue As String) As IEnumerable(Of DataPoint)
參數
- valueToFind
- Double
要找到的數據點值。
- useValue
- String
要用的資料點值(X, Y1, Y2...)。
傳回
一個 IEnumerable<T> 介面,代表匹配資料點的列舉子。
適用於
FindAllByValue(Double)
找出所有等於指定值的資料點。
public:
System::Collections::Generic::IEnumerable<System::Windows::Forms::DataVisualization::Charting::DataPoint ^> ^ FindAllByValue(double valueToFind);
public System.Collections.Generic.IEnumerable<System.Windows.Forms.DataVisualization.Charting.DataPoint> FindAllByValue(double valueToFind);
member this.FindAllByValue : double -> seq<System.Windows.Forms.DataVisualization.Charting.DataPoint>
Public Function FindAllByValue (valueToFind As Double) As IEnumerable(Of DataPoint)
參數
- valueToFind
- Double
要找到的數據點值。
傳回
一個 IEnumerable<T> 介面,代表匹配資料點的列舉子。