TransformCollection.IndexOf(Transform) 方法

定义

确定 TransformCollection 中指定项的索引。Determines the index of the specified item in the TransformCollection.

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

参数

value
Transform

要在 Transform 中定位的 TransformCollectionThe Transform to locate in the TransformCollection.

返回

如果在 TransformCollection 中找到,则为 value 的索引;否则为 -1。The index of value if found in the TransformCollection; otherwise, -1.

实现

适用于

另请参阅