This documentation is archived and is not being maintained.
CollectionAdapters Class
Visual Studio 2010
Enables collections to be passed between an add-in and its host application.
Assembly: System.AddIn (in System.AddIn.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ToIList<T>(IListContract<T>) | Converts the specified IListContract<T> collection to an IList<T> collection. |
![]() ![]() | ToIList<TContract, TView>(IListContract<TContract>, Converter<TContract, TView>, Converter<TView, TContract>) | Converts a specified IListContract<T> collection to an IList<T> collection by using converter adapters. |
![]() ![]() | ToIListContract<T>(IList<T>) | Converts a specified IList<T> collection to an IListContract<T> collection. |
![]() ![]() | ToIListContract<TView, TContract>(IList<TView>, Converter<TView, TContract>, Converter<TContract, TView>) | Converts a specified IList<T> collection to an IListContract<T> collection by using converter adapters. |
This class provides methods that enable an IList<T> collection to be converted to a IListContract<T> collection. The IListContract<T> collection is passed across the isolation boundary and converted back to an IList<T> collection that the add-in or the host application can use.
Objects in collections must be remotable. For more information about the object types that you can pass, see Contracts, Views, and Adapters.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
