Determines the index of an item with the specified owner and name.
Namespace: SchemaExplorerAssembly: SchemaExplorer (in SchemaExplorer.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public int IndexOf( string owner, string name ) |
Visual Basic |
---|
Public Function IndexOf ( owner As String, name As String ) As Integer |
Parameters
- owner
- Type: System..::..String
The owner of the item to locate in the collection.
- name
- Type: System..::..String
The name of the item to locate in the collection.
Return Value
Type: Int32The index of item if found in the list; otherwise, -1.