ContractAdapter.ViewToContractAdapter(Object) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the handle to the contract for a provided host view of an add-in.
public:
static System::AddIn::Pipeline::ContractHandle ^ ViewToContractAdapter(System::Object ^ view);
public static System.AddIn.Pipeline.ContractHandle ViewToContractAdapter(object view);
static member ViewToContractAdapter : obj -> System.AddIn.Pipeline.ContractHandle
Public Shared Function ViewToContractAdapter (view As Object) As ContractHandle
- view
- Object
The host view of an add-in activated by the system from the current application domain.
A handle to the contract.
view
is null
.
In this scenario, the source entity (a host) has an add-in that wants to be shared by a destination entity (another host).
Use this method to obtain the handle to the contract that was instantiated for the source entity by the add-in system.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: