IDataImporter.Import(string json, int startRow, int endRow, int startProperty, int endProperty) Method

    .NET Standard 2.x

    Imports data into the DataStore buffer with the specified DataFormat, and specifies the start and end positions of the rows and the properties .

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Syntax

    int Import(string json, int startRow, int endRow, int startProperty, int endProperty);
    

    Parameters

    json System.String

    Data string in the specified format.

    startRow System.Int32

    The zero-based index number of the first row in the buffer that you want to export.

    endRow System.Int32

    The zero-based index number of the last row in the buffer that you want to export.

    If it is negative, it indicates the rest of rows.

    startProperty System.Int32

    The zero-based index number of the first property in the buffer that you want to export.

    endProperty System.Int32

    The zero-based index number of the last property in the buffer that you want to export.

    Returns

    System.Int32

    Returns the number of rows that were imported if it succeeds.

    Examples

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon