ModelItemCollection.IndexOf(ModelItem) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
- item
- ModelItem
The object to locate in the collection.
Returns
The zero-based index of the first occurrence of item
within the entire ModelItemCollection, if found; otherwise, -1.
Implements
Applies to
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.