VectorCollection.IndexOf(Vector) 方法

定義

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

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

參數

value
Vector

要在 VectorCollection 中尋找的 Vector

傳回

Int32

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

實作

適用於

另請參閱