网络 程序; 概念; 笔记软件; 我的基地
MyBase cannot be used to access base class members that are marked as Friend if the base class is in a different assembly.
如果基类在不同的程序集中,则不能使用MyBase来访问标记为Friend的基类成员。
Do not use MyBase, MyClass, or Me when calling a constructor from another constructor.
当从另一个构造函数调用构造函数时,不要使用MyBase、MyClass或Me。
If your derived class shadows the element in the base class, you can access the base class element by qualifying it with the MyBase keyword.
如果导出类隐藏了基类中的元素,则可以通过用MyBase关键字限定基类元素来访问它。
However, the MyBase keyword bypasses the shadowing and accesses the shadowed procedure in the base class.
不过,MyBase关键字会绕开该隐藏并访问基类中隐藏的过程。
It then displays the shadowed version when shadowString is qualified with the MyBase keyword.
当shadowString由MyBase关键字限定时,则显示被隐藏的版本。