Provides access to the underlying object wrapped by a custom marshaler.
提供对自定义封送拆收器包装的基础对象的访问权限。
The marshaler can use the CLSID to locate the metadata for the wrapper.
封送拆收器可以使用该CLSID 找到包装的元数据。
Describes the process for writing a custom marshaler for interoperation.
描述如何为实现互用性编写自定义封送拆收器。
By using a custom marshaler, you can minimize the distinction between new.
借由使用自订封送处理器,您可以尽量缩小新的。
The marshaler pins data to reduce the overhead of copying and enhance performance.
封送拆收器锁定数据以减小复制的系统开销并提高性能。
A marshaler essentially provides a bridge between the functionality of old and new interfaces.
封送处理器实质上提供了新、旧介面功能之间的桥接。
The marshaler identifies the object by looking at one of the interfaces the object implements.
封送拆收器通过查看对象实现的接口之一来标识对象。
When arrays are passed as C-style arrays, the marshaler cannot determine the size of the array.
当数组作为c样式数组传递时,封送拆收器不能确定数组的大小。
You apply them to method parameters when you want to alter the default behavior of the marshaler.
可以在希望改变封送拆收器的默认行为时将它们应用于方法参数。
When a string is passed by value, the callee must never alter the reference passed by the marshaler.
当字符串通过值传递时,被调用方绝不能改变封送拆收器所传递的引用。
The interop marshaler performs the identical transformation when exposing a VARIANT type to managed code.
互操作封送拆收器在向托管代码公开VARIANT类型时执行相同的转换。
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.
最佳映射使互操作封送拆收器可以在没有精确匹配的情况下提供近似匹配字符。
Provides a way for clients to access the actual object, rather than the adapter object handed out by a custom marshaler.
为客户端访问实际对象(而不是自定义封送拆收器分发的适配器对象)提供了一种方式。
When the interface is first passed through the marshaler, the marshaler checks whether the interface is coming from a known object.
当透过封送处理器第一次传递介面时,封送处理器会检查介面是否来自已知的物件。
For example, the marshaler determines that the class wrapper should be used to wrap the interface that was passed into managed code.
例如,封送拆收器确定应当使用类包装来包装传递到托管代码中的接口。
This section describes the processes for customizing interop wrappers when you can (or must) supply the marshaler with additional type information.
本节描述在能够(或必须)为封送拆收器提供附加类型信息时自定义互操作包装的过程。
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.
封送拆收器可以很容易地标识托管对象所公开的接口,并能够将该接口与提供该实现的托管对象相匹配。
By defining mapping files for your classes, you can override the default binding strategy and advise the marshaler how you'd like your classes to be represented in XML.
通过定义类的映射文件,可以覆盖默认的绑定策略,并就类在XML中的表示方式对编排器提出建议。
Then, at run time, you call on the framework's introspection-based marshaler, and it produces an XML document based on the types, names, and values of your objects' members.
然后,在运行时,调用框架中基于内省的编排器,并根据对象成员的类型、名称和值生成xml文档。
Then, at run time, you call on the framework's introspection-based marshaler, and it produces an XML document based on the types, names, and values of your objects' members.
然后,在运行时,调用框架中基于内省的编排器,并根据对象成员的类型、名称和值生成xml文档。
应用推荐