Changing MaterialParemterCollection Value via c++

I’m trying to change the value of a scalar parameter of MaterialParameterCollection using c++

I think it’s possible because in the DOC say how to do thath with BluePrint Material Parameter Collections | Unreal Engine Documentation.

What is the syntaxesto do that?