ComponentOne BarChart for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1GridView Namespace / C1BaseFieldCollection Class / ColumnByName Method
Name of the column to search.

In This Topic
    ColumnByName Method
    In This Topic
    Gets the C1BaseField derived column object from the name specified.
    Syntax
    'Declaration
     
    Public Function ColumnByName( _
       ByVal name As System.String _
    ) As C1BaseField
    public C1BaseField ColumnByName( 
       System.string name
    )

    Parameters

    name
    Name of the column to search.

    Return Value

    The C1BaseField derived column object with specified name.
    Exceptions
    ExceptionDescription
    Thrown when a column with the specified name can not be found.
    Remarks
    A column is searched for in the tree of columns belonging to the collection.
    See Also