A Sandcastle Documented Class Library

# ModelDataExtensions CopyToList Method (IReadOnlyDictionary Guid, TransferItemResult , IList TransferItemResultData )

Copies a dictionary to list of pairs.

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public static void CopyToList(
    	this IReadOnlyDictionary<Guid, TransferItemResult> source,
    	IList<TransferItemResultData> destination
    )

    <ExtensionAttribute>
    Public Shared Sub CopyToList (
    	source As IReadOnlyDictionary(Of Guid, TransferItemResult),
    	destination As IList(Of TransferItemResultData)
    )

    public:
    [ExtensionAttribute]
    static void CopyToList(
    	IReadOnlyDictionary<Guid, TransferItemResult^>^ source,
    	IList<TransferItemResultData^>^ destination
    )

    [<ExtensionAttribute>]
    static member CopyToList :
            source : IReadOnlyDictionary<Guid, TransferItemResult> *
            destination : IList<TransferItemResultData> -> unit

#### Parameters

source
  Type: System.Collections.Generic
  IReadOnlyDictionary
  Guid, TransferItemResult
  The source.
destination
  Type: System.Collections.Generic
  IList
  TransferItemResultData
  The destination.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyDictionary
Guid, TransferItemResult
. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

#### Reference

ModelDataExtensions Class
CopyToList Overload
Dundas.BI.WebApi.Models Namespace