Hello, I needed some help on how to declare a property to take in an enumerator in a managed class in Visual C++ 2010. The piece of code in question is as follows in Visual C++2003.

__property virtual bool get_ByteDirection(Ports port, PortBytes byte);
I know that for something like the following code in C++ 2003
__property int get_PortDirection(int port);
the corresponding C++ 2010 syntax would be:
property int get_PortDirection[int];
But when it comes to passing in a user-defined enumerator, I'm unsure of what the 2010 syntax would be. It would be great if i can get some help on this.