ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Method ToDataGrid

    | Edit this page View Source

    ToDataGrid<T>(ChannelGrid, string)

    Creates a new DataGrid of type T from the data stored in a specified channel of a ChannelGrid.

    Declaration
    public static DataGrid<T> ToDataGrid<T>(this ChannelGrid channelGrid, string channelName) where T : unmanaged
    Parameters
    Type Name Description
    ChannelGrid channelGrid

    The ChannelGrid that contains the data in one of its channels. This grid will not be modified by this operation.

    string channelName

    Name of the channel

    Returns
    Type Description
    DataGrid<T>
    Type Parameters
    Name Description
    T

    Type of the values in the DataGrid to create.