public interface IMyInterface { string Properties { get;} }
public ref class MyUserControl: public UserControl, IMyInterface { // overriding IMyInterface public: property String^ Properties { virtual String^ get() { return "";} } // Also tried // property String^ IMyInterface::Properties //{ // virtual String^ get() { return "";} //} }
Error 1 error C2248: 'System::Windows::Forms::Control::Properties' : cannot access private class declared in class 'System::Windows::Forms::Control'
IMyterface.Properties
Properties
System.Windows.Forms.Control
IMyInterface::
""
String::Empty
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)