Getter only property in C++/CLI interface
What is the equivalent C++/CLI syntax to the follow开发者_运维技巧ing C# declaration (if such exists):
interface MyInterface
{
int MyProperty {get;}
}
interface class MyInterface
{
property int MyProperty
{
int get();
}
};
See example here
精彩评论