PointLight1->Intensity = DesiredIntensity; is error in ALightSwitchCodeOnly

243898-qq截图20180611222952.png

when i write code in the document which url is http://api.unrealengine.com/CHN/Gameplay/ClassCreation/CodeOnly/index.html
i find the code has error, i dont know how it happened. and how to resolve.