ICustomAdapter ICustomAdapter ICustomAdapter ICustomAdapter Interface

定义

警告

此 API 现已过时。

为客户提供访问实际对象的方法,而不是访问自定义封送处理程序分发的适配器对象的方法。Provides a way for clients to access the actual object, rather than the adapter object handed out by a custom marshaler.

public interface class ICustomAdapter
[System.Runtime.InteropServices.ComVisible(true)]
[System.Obsolete("ICustomAdapter may be unavailable in future releases.")]
public interface ICustomAdapter
type ICustomAdapter = interface
Public Interface ICustomAdapter
属性

注解

内置的自定义封颁发给客户端的对象实现此接口。The objects that the built-in custom marshalers hand out to clients implement this interface.

方法

GetUnderlyingObject() GetUnderlyingObject() GetUnderlyingObject() GetUnderlyingObject()

提供对自定义封送处理程序包装的基础对象的访问权限。Provides access to the underlying object wrapped by a custom marshaler.

适用于