共用方式為


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在兩者之間傳遞的方向,從主應用程式或載入宏顯示。

屬性

適用於

另請參閱