doug 0

doug 0

  • NA
  • 14
  • 0

How to Get an entire struct out of a class

Jan 5 2005 4:46 PM
Hi, I am trying to retrieve a struct out of my main Form1 class that is holding data of various types. I am trying to determine a method or property to retrieve this struct's info while doing calculations in other classes. The other classes need this info, so far I am unable to pass the entire struct into other methods in other classes and I cannot access the entire struct via a property (Get) . The MSDN examples use a property within the struct, but only demonstrate the ability to retrieve individual variables one at a time. I want to Get the entire struct out the Form1 class at once. Is there a way to do this? Thank you.

Answers (2)