Determines the index of a specific item in the ISpread<(Of <(<'T>)>)>.
Namespace: VVVV.PluginInterfaces.V2Assembly: VVVV.PluginInterfaces (in VVVV.PluginInterfaces.dll) Version: 2.0.4694.10872
Syntax
Parameters
- spread
- Type: VVVV.PluginInterfaces.V2..::..ISpread<(Of <(<'T>)>)>
The ISpread<(Of <(<'T>)>)> to use to locate the item.
- item
- Type: T
The object to locate in the ISpread<(Of <(<'T>)>)>.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:VVVV.PluginInterfaces.V2.SpreadExtensions.IndexOf``1(VVVV.PluginInterfaces.V2.ISpread{``0},``0)"]
Return Value
The index of item if found in the ISpread<(Of <(<'T>)>)>; otherwise, -1.Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ISpread<(Of <(<'T>)>)>. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Remarks
If an object occurs multiple times in the ISpread<(Of <(<'T>)>)>, the IndexOf method always returns the first instance found.