An indexer introduced in a class or struct hides all base class indexers with the same signature.
类别或结构所引入的索引子可隐藏所有具相同签章的基底类别成员。
For this example (Figure 4), you will model a read-only indexer (thus it has only a get accessor) in the DrawingSurface class.
对于本实例(图4),您将对drawingsurface类中的只读索引器建模(因而它只有get存取器)。
The indexer implements IPDOMIndexer, but its class depends on the user's CDT preferences.
该索引器实现 IPDOMIndexer,但其类依赖于用户的 CDT 首选项。
应用推荐