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
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)