FrameworkElementAdapters.ContractToViewAdapter(INativeHandleContract) 方法

定义

返回已从 FrameworkElement 进行转换的 INativeHandleContract

public:
 static System::Windows::FrameworkElement ^ ContractToViewAdapter(System::AddIn::Contract::INativeHandleContract ^ nativeHandleContract);
[System.Security.SecurityCritical]
public static System.Windows.FrameworkElement ContractToViewAdapter (System.AddIn.Contract.INativeHandleContract nativeHandleContract);
[<System.Security.SecurityCritical>]
static member ContractToViewAdapter : System.AddIn.Contract.INativeHandleContract -> System.Windows.FrameworkElement
Public Shared Function ContractToViewAdapter (nativeHandleContract As INativeHandleContract) As FrameworkElement

参数

nativeHandleContract
INativeHandleContract

跨主机应用程序和外接程序之间的隔离边界进行传递的 INativeHandleContract

返回

一个 FrameworkElement ,它将从主机应用程序或外接程序显示,具体取决于 UI 在两者之间传递的方向。

属性

适用于

另请参阅