PointCollection.IndexOf(Point) 方法

定義

決定 PointCollection 中指定之項目的索引。

public:
 virtual int IndexOf(System::Windows::Point value);
public int IndexOf (System.Windows.Point value);
abstract member IndexOf : System.Windows.Point -> int
override this.IndexOf : System.Windows.Point -> int
Public Function IndexOf (value As Point) As Integer

參數

value
Point

要在 PointCollection 中尋找的 Point

傳回

Int32

如果在 PointCollection 中找到,為 value 的索引,否則為 -1。

實作

適用於

另請參閱