Goblin - A Platform for 3D AR and VR Applications

TypeRefCollection.IndexOf Method 

Returns the zero-based index of the first occurrence of a TypeRef in the TypeRefCollection.

public virtual int IndexOf(
   TypeRef item
);

Parameters

item
The TypeRef to locate in the TypeRefCollection.

Return Value

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

See Also

TypeRefCollection Class | DDW.CSharp.Dom Namespace