Store oututParameter value in Grasshopper component

Hello,

How can I store output parameters value from a Grasshopper component without relying on Instances.ActiveCanvas ?

Regards,
Bhavita