

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.

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

- item (InstallPath)
- The InstallPath to search for.

Int32
The index of the item, or -1 if not found.
The index of the item, or -1 if not found.
Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.9.1006.0)