CollectionAdapters Class

 

Enables collections to be passed between an add-in and its host application.

Namespace:   System.AddIn.Pipeline
Assembly:  System.AddIn (in System.AddIn.dll)

System.Object
  System.AddIn.Pipeline.CollectionAdapters

[<AbstractClass>]
[<Sealed>]
type CollectionAdapters = class end

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.

.NET Framework
Available since 3.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: