如果可以信任类、程序集或派生类,则限制它们的可访问性的范围。
Limit the scope of accessibility to the class, assembly, or derived classes, if they can be trusted.
指定一个或多个已声明的编程元素只能从其自身的类或派生类访问。
Specifies that one or more declared programming elements are accessible only from within their own class or from a derived class.
名字被嵌套的声明区域或派生类(10.2)中相同名字的显式声明所隐藏。
A name can be hidden by an explicit declaration of that same name in a nested declarative region or derived class (10.2).
类似TextSplitter的类(或其未来的派生类)往往会包含针对许多具体派生类的有用功能。
A class like TextSplitter (or its future descendents) might contain a bit of functionality that might be useful for a number of concrete descendents.
当具有基类的引用或指针,但需要执行不是基类组成部分的派生类操作的时候,需要动态的强制类型转换。
Dynamic casts are needed when we have a reference or pointer to a base class but need to perform operations from the derived class that are not part of the base class.
当构造、拷贝、赋值或撤销一个派生类对象时,也要构造、拷贝、赋值或撤销那些基类的子对象。
When we construct, copy, assign, or destroy an object of derived type, we also construct, copy, assign, or destroy those base-class subobjects.
如果基类成员与派生类成员接受的实参不同,就没有办法通过基类类型的引用或指针调用派生类函数。
If the base member took different arguments than the derived-class member, there would be no way to call the derived function from a reference or pointer to the base type.
通过运行时类型识别(RTTI),程序能够使用基类的指针或引用来检索这些指针或引用所指对象的实际派生类型。
Run-time Type Identification (RTTI) allows programs that use pointers or references to base classes to retrieve the actual derived types of the objects to which these pointers or references refer.
在派生类中被重写时,测试消息或缓冲的消息是否满足筛选器的条件。
When overridden in a derived class, tests whether a message or a buffered message satisfies the criteria of a filter.
如果您的派生类有专用样式选择器或缓存样式值,则可以包含重写此方法的方案。
Scenarios for overriding this method might include if your derived class has a specialized style selector, or caches style values.
如果您希望派生类设置此属性,则应该在静态构造函数或其他初始化例程中完成此工作。
If you want your derived class to set this property, you should do so within the static constructor or in other initialization routines.
当在派生类中重写时,调用具有给定参数的反射的方法或构造函数。
When overridden in a derived class, invokes the reflected method or constructor with the given parameters.
在派生类中重写时,获取或设置与跟踪记录关联的跟踪事件的时间和日期。
When overridden in a derived class, gets or sets the time and date of the tracking event associated with the tracking record.
当在派生类中重写时,指示两个对象或字符串是否相等。
When overridden in a derived class, indicates whether two objects or strings are equal.
当您定义从基类继承的类时,有时会需要重定义派生类中的一个或多个基类元素。
When you define a class that inherits from a base class, you sometimes want to redefine one or more of the base class elements in the derived class.
当在派生类中被重写时,允许SOAP扩展访问包含 SOAP请求或响应的内存缓冲区。
When overridden in a derived class, allows a SOAP extension access to the memory buffer containing the SOAP request or response.
但是,如果此类是可继承的,且之前已经有派生类的层次结构,则这些派生类可能需要访问此数据或代码。
However, if the class is inheritable and you expect a hierarchy of derived classes, it might be necessary for these derived classes to access the data or code.
派生类必须为自己所支持的常规句柄类型提供适合的实现(0或- 1为无效)。
Derived classes must provide an implementation that suits the general type of handle they support (0 or -1 is invalid).
在派生类中重写时,将一个或多个相关对象加载到本地集合或引用中。
When overridden in a derived class, loads an object or objects from the related end with the specified merge option.
还可以通过使用内置处理或用自己的处理替换内置处理,在派生类中使用或响应此命令。
You could also use or respond to this command in a derived class, using either the built-in handling or replacing it with handling of your own.
还可以通过使用内置处理或用自己的处理替换内置处理,在派生类中使用或响应此命令。
You could also use or respond to this command in a derived class, using either the built-in handling or replacing it with handling of your own.
应用推荐