在这个范例中,巢状类别会隐藏基底类别中具有相同名称的类别。
In this example, a nested class hides a class that has the same name in the base class.
在衍生类别中覆写时,使用指定的系结条件约束搜寻指定的巢状型别。
When overridden in a derived class, searches for the specified nested type, using the specified binding constraints.
受保护的型别适用于进阶自订案例中的子类别和巢状型别。
Protected types can be used in subclasses and nested types in advance customization scenarios.
应用推荐