Goblin - A Platform for 3D AR and VR Applications

DeclaratorCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a Declarator in the DeclaratorCollection.

public virtual int IndexOf(
   Declarator item
);

Parameters

item
The Declarator to locate in the DeclaratorCollection.

Return Value

The zero-based index of the first occurrence of item in the entire DeclaratorCollection, if found; otherwise, -1.

See Also

DeclaratorCollection Class | DDW.CSharp.Dom Namespace