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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.