另一个例子,在调用宿主对象的函数时,如何进行类型强制转换,这也是没有规定的。
Another example is that it's not explained how types are coerced when calling functions on host objects. For example, when you do.
step3:新建的应用程序域创建宿主环境,如HttpRuntime对象。
Step 3: the newly created application domain creates hosting environment, i.e. the 'HttpRuntime' object.
记住宿主的VBA代码被编译为p代码,而不是本机代码,这会导致性能略微有所下降,尽管在进程内运行能够优化对Office对象的方法调用。
Keep in mind that hosted VBA code is compiled to p-code, not native code, and this incurs a slight performance penalty, although running in process enables optimized method calls to Office objects.
这个模型由5个类组成,其中的4个是要持久化的类,非持久化类oradersystem当做这个对象模型的宿主。
The model is made up of five classes, four of which are persistent. The non-persistent OrderSystem class serves as the root of the object model.
一项以小鼠为对象的研究发现:肠道菌群的类型影响宿主行为。
A study with mice finds that the types of intestinal bacteria an individual carries can influence behavior. Karen Hopkin reports.
那些表示在宿主和外接程序之间传递的对象的类型不需要此特性。
Types that represent objects passed between the host and the add-in do not need this attribute.
此类提供的属性和事件可用于访问宿主应用程序的对象模型以及在加载和关闭外接程序时运行代码。
This class provides properties and events you can use to access the object model of the host application and run code when the add-in is loaded and shut down.
您可以使用此类的成员在加载或卸载外接程序时运行代码、访问宿主应用程序的对象模型,以及扩展应用程序的功能。
You can use members of this class to run code when the add-in is loaded or unloaded, to access the object model of the host application, and to extend features of the application.
公开宿主环境使用的对象以处理ASP。
Exposing objects used by the hosting environment to process ASP.
使用指定的设计器宿主,从以序列化形式表示工具箱项的指定对象获取工具箱项。
Gets a toolbox item from the specified object that represents a toolbox item in serialized form, using the specified designer host.
获取一个值,该值指示指定的设计器宿主是否可使用表示一个被序列化的工具箱项的指定对象。
Gets a value indicating whether the specified object which represents a serialized toolbox item can be used by the specified designer host.
该图还显示了到宿主的对象传递,例如计算结果或对象集合的传递。
It also shows the passing of objects to the host, such as the results of a calculation or a collection of objects.
将对象标识为管线的宿主端适配器段。
Identifies an object as an add-in view segment of the pipeline.
与本机对象不同的是,宿主控件可以直接绑定到托管数据对象上。
Unlike the native objects, host controls can be bound directly to managed data objects.
与本机对象不同的是,宿主控件可以直接绑定到托管数据对象上。
Unlike the native objects, host controls can be bound directly to managed data objects.
应用推荐