IndexOf Method (item)

DTF API

Copy image CopyHover image
Deployment Tools Foundation IndexOf Method (item)
Gets the index of a child path in the collection.
Declaration Syntax
C# Visual Basic Visual C++ F#
public int IndexOf(
	InstallPath item
)
Public Function IndexOf ( 
	item As InstallPath
) As Integer
public:
virtual int IndexOf(
	InstallPath^ item
) sealed
abstract IndexOf : 
        item : InstallPath -> int 
override IndexOf : 
        item : InstallPath -> int 
Parameters
item (InstallPath)
The InstallPath to search for.
Return Value
Int32
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.11.1.2318)