ICustomAdapter 介面

定義

警告

此 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()

提供對基礎物件的存取,由自訂封送處理器包裝。Provides access to the underlying object wrapped by a custom marshaler.

適用於