語言

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

Vector在 中尋找 VectorCollection。

傳回

若在 中,value則VectorCollection為 的索引;否則為 -1。

實作

適用於

另請參閱