Represents a generic list of types that are defined by a contract and are used to pass collections of that contract type between a host and an add-in.
generic <typename T> public interface class IListContract : System::AddIn::Contract::IContract
public interface IListContract<T> : System.AddIn.Contract.IContract
type IListContract<'T> = interface interface IContract
Public Interface IListContract(Of T) Implements IContract
The contract type of the objects in the list.
The CollectionAdapters class uses an IListContract<T> interface to pass collections, in both directions, between the host and the add-in. It is recommended that you use the CollectionAdapters class instead of using this class directly in your code. For an example, see Walkthrough: Passing Collections Between Hosts and Add-Ins.
This class can be used to pass objects by reference between application domains because the objects are not serialized.