Share via


DataFrameColumnCollection.IndexOf(String) Method

Definition

Searches for a DataFrameColumn with the specified columnName and returns the zero-based index of the first occurrence if found. Returns -1 otherwise

public int IndexOf (string columnName);
override this.IndexOf : string -> int
Public Function IndexOf (columnName As String) As Integer

Parameters

columnName
String

Returns

Applies to