G
Guest
I need to declare a project level Enum that any procedure in any class can
reference so there's continuity with the values.
How do I do this?
At present, if I declare a Module in a project and want to refer to it in an
class I get the following error:
[Method] cannot expose type [Enum] outside the project through class
[ClassName]
Example:
Module Common
Public Enum icPriority As Integer
Low
Medium
High
End Enum
End Module
(Separate Class file)
Public Class Checker
Public Sub DoCheck(ByVal p as NameSpace.Common.icPriority) ' This
returns the squiggle with the error
End Sub
End Class
How do I reference the global enum in a procedure as an parameter?
Thanks,
King Wilder
reference so there's continuity with the values.
How do I do this?
At present, if I declare a Module in a project and want to refer to it in an
class I get the following error:
[Method] cannot expose type [Enum] outside the project through class
[ClassName]
Example:
Module Common
Public Enum icPriority As Integer
Low
Medium
High
End Enum
End Module
(Separate Class file)
Public Class Checker
Public Sub DoCheck(ByVal p as NameSpace.Common.icPriority) ' This
returns the squiggle with the error
End Sub
End Class
How do I reference the global enum in a procedure as an parameter?
Thanks,
King Wilder