Deployment Tools Foundation
IndexOf Method (item)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► InstallPathCollection ► IndexOf(InstallPath)
Gets the index of a child path in the collection.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public int IndexOf( InstallPath item )
Public Function IndexOf ( _ item As InstallPath _ ) As Integer
public: virtual int IndexOf( InstallPath^ item ) sealed
Parameters
- item (InstallPath)
- The InstallPath to search for.
Return Value
The index of the item, or -1 if not found.