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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.