... 建构函数和 (constructor and) 建构函数和类型 (constructor and type) 显式类型 (explicit type) ...
基于1个网页-相关网页
In Listing 3, the name and content type of the input document is specified by the constructor.
在清单3中,输入文档的名称和内容类型由构造函数指定。
The runtime will stop any exceptions trying to leave a type constructor and wrap the exception inside of a new TypeInitializationException object.
运行库将停止任何尝试保留类型构造函数的异常,并将该异常包装到一个新的 TypeInitializationException 对象内。
Figure 1 shows a constructor with two arguments of type Point and a destructor modeled for the DrawingSurface class of the sample application used here for illustration purposes.
图1展示了为示例应用程序(在这里用于举例)的drawingsurface类建模的带有两个Point类型参数的构造方法和一个析构方法。
应用推荐