IndexOf Method (PSContainer)
Get the index of an object in the collection.
public virtual int IndexOf(
int
)
'Declaration
Public Overridable Function IndexOf( _
ByVal As Integer _
) As Integer
'Usage
Dim instance As PSContainer
Dim uniqueIdentifer As Integer
Dim value As Integer
value = instance.IndexOf(uniqueIdentifer)
Parameters
- uniqueIdentifer
- Unique identifier for the object in the collection