src/BloomExe/Spreadsheet/InternalSpreadsheet.cs
/// <summary>
/// Gets the index for the specified column.
/// </summary>
/// <param name="columnLabel">The label (id) of the column to look up. (This is the value written in the first row's cell for that column</param>
/// <remarks>This function has been changed so that if the column does not exist, it will NOT be added. That is, this is a pure, side-effect free getter.</remarks>
/// <returns>The 0-based index of the column, or -1 if not found.</returns>
Gets the index for the specified column.
Gets the index for the specified column .
public int GetColumnForTag(string columnLabel)
		{
			for (var i = 0; i < Header.ColumnCount; i++)
			{
				if (Header.ColumnIdRow.GetCell(i).Content.Equals(columnLabel))
					return i;
			}
			return -1;			
		}
public int GetColumnForTag ( string columnLabel ) { for ( var i = 0 ; i < Header . ColumnCount ; i ++ ) { if ( Header . ColumnIdRow . GetCell ( i ) . Content . Equals ( columnLabel ) ) return i ; } return - 1 ; }
Gets the index for the specified column.
Gets the index for the specified column .
The 0-based index of the column, or -1 if not found.
The 0 - based index of the column or - 1 if not found .
columnLabel
string
The label (id) of the column to look up. (This is the value written in the first row's cell for that column
The label ( id ) of the column to look up . ( This is the value written in the first row ' s cell for that column
remarks
This function has been changed so that if the column does not exist, it will NOT be added. That is, this is a pure, side-effect free getter.
This function has been changed so that if the column does not exist it will NOT be added . That is this is a pure side - effect free getter .