IndexOf Method (columnName)

DTF API

Copy image CopyHover image
Deployment Tools Foundation IndexOf Method (columnName)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerColumnCollectionIndexOf(String)
Gets the index of a column within the collection.
Declaration Syntax
C# Visual Basic Visual C++ F#
public int IndexOf(
	string columnName
)
Public Function IndexOf ( 
	columnName As String
) As Integer
public:
int IndexOf(
	String^ columnName
)
member IndexOf : 
        columnName : string -> int 
Parameters
columnName (String)
case-sensitive name of the column to look for
Return Value
Int32
0-based index of the column, or -1 if not found

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller.dll) Version: 3.0.0.0 (3.11.1.2318)