Home > @i2analyze/i2connect > records > ITypedSeededResultRecord > setProperties
records.ITypedSeededResultRecord.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
});