描述如何为实现互用性编写自定义封送拆收器。
Describes the process for writing a custom marshaler for interoperation.
这就像是无线电接收器。你可以选择调收不同的电台。
It's like having a radio receiver: You can choose to tune-in to different stations.
封送拆收器通过查看对象实现的接口之一来标识对象。
The marshaler identifies the object by looking at one of the interfaces the object implements.
提供对自定义封送拆收器包装的基础对象的访问权限。
Provides access to the underlying object wrapped by a custom marshaler.
封送拆收器锁定数据以减小复制的系统开销并提高性能。
The marshaler pins data to reduce the overhead of copying and enhance performance.
封送拆收器可以使用该CLSID 找到包装的元数据。
The marshaler can use the CLSID to locate the metadata for the wrapper.
可以在希望改变封送拆收器的默认行为时将它们应用于方法参数。
You apply them to method parameters when you want to alter the default behavior of the marshaler.
当数组作为c样式数组传递时,封送拆收器不能确定数组的大小。
When arrays are passed as C-style arrays, the marshaler cannot determine the size of the array.
当字符串通过值传递时,被调用方绝不能改变封送拆收器所传递的引用。
When a string is passed by value, the callee must never alter the reference passed by the marshaler.
例如,封送拆收器确定应当使用类包装来包装传递到托管代码中的接口。
For example, the marshaler determines that the class wrapper should be used to wrap the interface that was passed into managed code.
互操作封送拆收器在向托管代码公开VARIANT类型时执行相同的转换。
The interop marshaler performs the identical transformation when exposing a VARIANT type to managed code.
最佳映射使互操作封送拆收器可以在没有精确匹配的情况下选择近似匹配字符。
Best-fit mapping enables the interop marshaler to select a close-matching character when no exact match exists.
最佳映射使互操作封送拆收器可以在没有精确匹配的情况下提供近似匹配字符。
Best-fit mapping enables the interop marshaler to provide a close-matching character when no exact match exists.
本节描述在能够(或必须)为封送拆收器提供附加类型信息时自定义互操作包装的过程。
This section describes the processes for customizing interop wrappers when you can (or must) supply the marshaler with additional type information.
为客户端访问实际对象(而不是自定义封送拆收器分发的适配器对象)提供了一种方式。
Provides a way for clients to access the actual object, rather than the adapter object handed out by a custom marshaler.
封送拆收器可以很容易地标识托管对象所公开的接口,并能够将该接口与提供该实现的托管对象相匹配。
The marshaler can readily identify interfaces exposed by managed objects and is able to match the interface with the managed object that provides the implementation.
这对那些需要跨平台收邮件的人来说是个好消息,因为你可以使用这个功能调节至适合电脑,浏览器,或者智能机的排版。
This is welcome news for anyone who needs to check Gmail from more than one platform, since you can adjust to fit a computer, browser, or smart phone.
用户可以通过一副耳机或扬声器收直接听来自碳纳米管晶体管的正规无线电广播。
The user listens to regular radio broadcasts that flow directly from a carbon nanotube transistor to a pair of headphones or speakers.
现在,较大点儿的鸟可以佩上无线电发射器,其功率强到足以让太空卫星 收“听”到。
Now, larger birds can be fitted with radio transmitters powerful enough to be heard in space by satellites.
紧凑型和标准型驱动器收入约70%是来自机械制造行业,但这些行业只占到高端驱动大约一半的营收。
While approximately 70% of compact and standard drive revenues are from machine-building sectors, these sectors only account for approximately half of premium drive revenues.
这种机器人有一个收讯的传感器检测的障碍。
测径清管器到达收球筒后,拆下清管器上的测径板,若测径板没有明显变形,测径合格。
The pig to receive clear caliper ball after tube, remove the clear the caliper plate pig, if caliper board did not obvious deformation, caliper qualified.
然后,我们将收官培训跳回到UD K并学习如何建立一个水着色器,将利用我们的MARI创造流量图。
Then we'll wrap up the training by jumping back into UDK and learn how to set up a water shader that will utilize our MARI created flow map.
顾客:我们用计价器,还是你可以收55美元?
蜗轮箱内蜗轮轴上装有收绳轮和计数器,计算绳索的长度。
Worm shaft of worm-gear box fixes collecting rope wheel and counter so that count rope length.
超细微气流粉碎机整机是由主机、电控柜、立管、收粉器、除尘装置、支架等组成。
Ultra-fine jet mill machine from the host, control cabinet, riser, closing with powder, dust removal devices, stents and other components.
汽车动态仿实器反在人邦尚属初步研造和开收阶段。
The vehicle dynamic driving simulator is in the stage of initial research and development in our country.
从站通过步进电机和旋转编码器构成的闭环系统实现收带功能。
The slave implements taping by the close loop system of the step motor and the rotary encoder.
从站通过步进电机和旋转编码器构成的闭环系统实现收带功能。
The slave implements taping by the close loop system of the step motor and the rotary encoder.
应用推荐