ModelItemCollection.IndexOf(ModelItem) Método
Definição
Retorna o índice baseado em zero da primeira ocorrência de um valor em ModelItemCollection.Returns the zero-based index of the first occurrence of a value in the ModelItemCollection.
public:
abstract int IndexOf(System::Activities::Presentation::Model::ModelItem ^ item);
public abstract int IndexOf (System.Activities.Presentation.Model.ModelItem item);
abstract member IndexOf : System.Activities.Presentation.Model.ModelItem -> int
Public MustOverride Function IndexOf (item As ModelItem) As Integer
Parâmetros
- item
- ModelItem
O objeto a ser localizado na coleção.The object to locate in the collection.
Retornos
O índice baseado em zero da primeira ocorrência de item em todo o ModelItemCollection, se encontrado; caso contrário, -1.The zero-based index of the first occurrence of item within the entire ModelItemCollection, if found; otherwise, -1.