Not a PUBLIC member: <name>
You referred to a Private member of a class outside of the class's scope. Only Public class members can be referred to outside of their defining class's scope. (By default, member variables are Private, whereas member functions, subs, and properties are Public unless explicitly declared as Private.)
Remove the Private keyword (if any) from the declaration of the class member, and substitute the keyword Public in its place.