ModelDataExtensionsCopyToList Method (IReadOnlyDictionaryGuid, CustomAttributeValue, IListCustomAttributeData, NullableGuid, Boolean) |
Copies a dictionary to list of pairs.
Namespace:
Dundas.BI.WebApi.Models
Assembly:
Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (24.1.0.1001)
Syntax 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.GenericIReadOnlyDictionaryGuid, CustomAttributeValue
The source. - destination
- Type: System.Collections.GenericIListCustomAttributeData
The destination. - tenantId
- Type: SystemNullableGuid
The ID of the session's tenant. - includeSecureAttributes
- Type: SystemBoolean
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
IReadOnlyDictionaryGuid,
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