Show / Hide Table of Contents

Method GetColumn

| Improve this Doc View Source

GetColumn<T>(String)

Gets the column by name.

Declaration
public T GetColumn<T>(string name)

    where T : Column
Parameters
Type Name Description
System.String name

The name of the column.

Returns
Type Description
T

The column with specified name.

Type Parameters
Name Description
T

Type of the returned column.

| Improve this Doc View Source

GetColumn<T>(Int32)

Gets the column by index.

Declaration
public T GetColumn<T>(int index)

    where T : Column
Parameters
Type Name Description
System.Int32 index

The index of the column in Columns collection.

Returns
Type Description
T

The column with specified index.

Type Parameters
Name Description
T

Type of the returned column.

| Improve this Doc View Source

GetColumn<T>()

Gets the first column.

Declaration
public T GetColumn<T>()

    where T : Column
Returns
Type Description
T

The first column in Columns collection.

Type Parameters
Name Description
T

Type of the returned column.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest