docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ColumnNameToIndex

    ColumnNameToIndex(string)

    Convert a column name to its id value. E.G 'A' = 0, 'B' = 1, 'AA' = 26, 'AB' = 27

    Declaration
    public static int ColumnNameToIndex(string name)
    Parameters
    Type Name Description
    string name

    The name of the column, case insensitive.

    Returns
    Type Description
    int

    The column index or 0.

    Exceptions
    Type Condition
    ArgumentException
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)