-
I've got a user defined type that I want to contain both a Label object and an integer to act as an index.
However, when I try to compile it says that:
"Private object modules cannot be used in public object modules as parameters or return types for public procedures, as public data members, or as fields of public user defined types."
what other options do i have? I need to use the Label Object. Cause I am placing labels objects i have in my program into an array.
Thanks!
-
Either declare your UDT to private or put it add a dll project with a public class and put your UDT declaration there
-