i2 Connect SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/i2connect > records > IRecordProperties > setProperties

    records.IRecordProperties.setProperties() method

    Sets the values of several properties on the result record.

    Signature:

    setProperties(properties: utility.SetRecordProperties<TItemType>): void;
    

    Introduced: API version 2.0

    Parameters

    Parameter Type Description
    properties utility.SetRecordProperties<TItemType> An object that contains name-value pairs, where the names match property type names, and the values are those that you want to set.

    Returns:

    void

    Example

    Use code like this to set several properties on the seeded result record at once:

    seededRecord.setProperties({
      'property name 1': 'property value',
      'property name 2': 4
    });
    
    In this article
    Back to top © N. Harris Computer Corporation