2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.8 Assembly / C1.Win.C1Chart Namespace / ChartDataArray Class / CopyDataOut Method / CopyDataOut(Type) Method
type

In This Topic
    CopyDataOut(Type) Method
    In This Topic
    Copies data out of the ChartDataArray using the specified data type.
    Syntax
    'Declaration
     
    Public Overloads Function CopyDataOut( _
       ByVal t As System.Type _
    ) As System.Object
    public System.object CopyDataOut( 
       System.Type t
    )

    Parameters

    t
    type

    Return Value

    An object containing an array of the specified type, appropriately converted from the internal Double(VB) or double(C#) values.
    Remarks

    Although the returned array is an object, the underlying data type will be an array of type Single, Double, Integer, Int16, Int64, Decimal or DateTime (VB) or float, double, int, Int16, Int64, decimal or DateTime (C#). When PointData is managed by the ChartDataArray, an array PointF objects may also be returned.

    In Visual Basic, it is not necessary to explicitly cast the returned value. The strong typing of C# however, requires an explicit cast.

    Note that all values are stored as a Double(VB) or double(C#) data type internally. Data conversions are performed automatically and as appropriate for the specified data type.

    See Also