IndexOf Method (item)

Microsoft Deployment Tools

Deployment Tools Foundation IndexOf Method (item)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.ResourcesResourceCollectionIndexOf(Resource)
Gets the index of an item in the collection.
Declaration Syntax
C# Visual Basic Visual C++
public int IndexOf(
	Resource item
)
Public Function IndexOf ( _
	item As Resource _
) As Integer
public:
int IndexOf(
	Resource^ item
)
Parameters
item (Resource)
The Resource to search for.
Return Value
The index of the item, or -1 if not found.

Assembly: Microsoft.Deployment.Resources (Module: Microsoft.Deployment.Resources) Version: 3.0.0.0 (3.5.1623.0)