Using A Variable For Selecting A Component Name


Recommended Posts

Is it possible to use a variable for a component name. I've tried using the code below but it doesn't work.

 

e.g. 

////////////////////////////////
private string PageName = "SensorA"
 
page.PageName.Component.OldGraph.SaveToFile("C:\graph")

////////////////////////////////

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.