A Sandcastle Documented Class Library

# ModelDataExtensions CopyToList Method (IReadOnlyDictionary Guid, CustomAttributeValue , IList CustomAttributeData , Nullable Guid , Boolean)

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, CustomAttributeValue> source,
    	IList<CustomAttributeData> destination,
    	Guid? tenantId,
    	bool includeSecureAttributes
    )

    <ExtensionAttribute>
    Public Shared Sub CopyToList (
    	source As IReadOnlyDictionary(Of Guid, CustomAttributeValue),
    	destination As IList(Of CustomAttributeData),
    	tenantId As Guid?,
    	includeSecureAttributes As Boolean
    )

    public:
    [ExtensionAttribute]
    static void CopyToList(
    	IReadOnlyDictionary<Guid, CustomAttributeValue^>^ source,
    	IList<CustomAttributeData^>^ destination,
    	Nullable<Guid> tenantId,
    	bool includeSecureAttributes
    )

    [<ExtensionAttribute>]
    static member CopyToList :
            source : IReadOnlyDictionary<Guid, CustomAttributeValue> *
            destination : IList<CustomAttributeData> *
            tenantId : Nullable<Guid> *
            includeSecureAttributes : bool -> unit

#### Parameters

source
  Type: System.Collections.Generic
  IReadOnlyDictionary
  Guid, CustomAttributeValue
  The source.
destination
  Type: System.Collections.Generic
  IList
  CustomAttributeData
  The destination.
tenantId
  Type: System
  Nullable
  Guid
  The ID of the session's tenant.
includeSecureAttributes
  Type: System
  Boolean
  A flag indicating whether or not to include secure custom attribute values.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyDictionary
Guid, CustomAttributeValue
. 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